Configuration
You can add "--global" after "git config" to any of these commands to make it apply to all git repositories (writes to ~/.gitconfig).
- git config user.email author@email.com
-
Set email for commit messages.
- git config user.name 'author name'
-
Set name for commit messages.
- git config branch.autosetupmerge true
-
Tells git-branch and git-checkout to setup new branches so that git-pull(1) will appropriately merge from that remote branch. Recommended. Without this, you will have to add "--track" to your branch command or manually merge remote tracking branches with "fetch" and then "merge".