Wednesday, June 28, 2017 05:07 pm EDT

Git blog posts

Bri's picture

Git command cheat sheet

The majority of this list came from but I have added in some tidbits that I have found in other places as well.


git config -e [--global]
edit the .git/config [or ~/.gitconfig] file in your $EDITOR

git config --global 'John Doe'
git config --global
sets your name and email for commit messages

git config branch.autosetupmerge true
tells git-branch and git-checkout to setup new branches so that git-pull(1)