Last active
December 8, 2017 21:51
-
-
Save fojuth/1a00417f7a481d4b40fe6544e391d798 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [alias] | |
| ls = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate | |
| ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat | |
| lds = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=default | |
| cp = cherry-pick | |
| s = status | |
| cl = clone | |
| c = commit -m | |
| co = checkout | |
| cob = checkout -b | |
| b = branch | |
| d = diff | |
| dc = diff --cached | |
| m = merge | |
| sl = stash list | |
| sa = stash apply | |
| ss = stash save | |
| a = add | |
| p = push | |
| l = pull | |
| f = fetch | |
| docs = commit -m 'Update API docs' | |
| lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit | |
| [push] | |
| default = current |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment