#
Git Guide
#
Fixing Git after a fresh install
- Set you github username:
git config --global user.name "John Doe"
- Set your github email:
(Get it from https://github.com/settings/emails)
git config --global user.email "johndoe@email.com"
- If you have already committed and even after setting up the
username
andemail
you can't commit, run this from the local repo itself:
git commit --amend --reset-author