If your getting errors like,
1 |
(pre-receive hook declined) |
When attempting to push changes to your Git repo, its probably because your email address is not authenticating with Git.
To reset follow the following steps,
1 |
git config --global user.email "email@address.com.au" |
To check its correct
1 |
git config --global user.email |
If it still failing on that repo, you’ll need to reset.
1 |
git commit --amend --reset-author --no-edit |