Alias | Command | What to Type |
---|---|---|
git cm |
git commit |
git config --global alias.cm commit |
git co |
git checkout |
git config --global alias.co checkout |
git ac |
git add . -A git commit |
git config --global alias.ac '!git add -A & & git commit' |
git st |
git status -sb |
git config --global alias.st 'status -sb' |
git tags |
git tag -l |
git config --global alias.tags 'tag -l' |
git branches |
git branch -a |
git config --global alias.branches 'branch -a' |
git remotes |
git remote -v |
git config --global alias.remotes 'remote -v' |
Created
April 15, 2014 02:09
-
-
Save danalmeida/10696331 to your computer and use it in GitHub Desktop.
Useful command-line aliases for Git https://github.com/tiimgreen/github-cheat-sheet
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment