Skip to content

Instantly share code, notes, and snippets.

@tomcask
Last active April 26, 2017 10:45
Show Gist options
  • Save tomcask/155131391ee32985ff96d4de2489552c to your computer and use it in GitHub Desktop.
Save tomcask/155131391ee32985ff96d4de2489552c to your computer and use it in GitHub Desktop.
alias to show commits between master and head
git config --global alias.lg-show-commits 'log origin/master..HEAD'
git config --global alias.co checkout
git config --global alias.ci commit
git config --global alias.br branch
git config --global alias.st status
git config --global alias.unstage 'reset HEAD --'
git config --global alias.last 'log -1 HEAD'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment