Appearance
Git Guide
Initial Setup
- Set you github username:
bash
git config --global user.name "John Doe"
- Set your github email:
bash
git config --global user.email "johndoe@email.com"
Fix Commit Author
If you have already committed and even after setting up the username
and email
you can't commit, run this from the local repo itself:
bash
# From within your repository
git commit --amend --reset-author