Sunday, March 18, 2018 03:35 am 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)