Created
November 15, 2016 22:05
-
-
Save solarce/9c1e336290275bea4643ff5af7bc4704 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] | |
branch-name = "!git rev-parse --abbrev-ref HEAD" | |
co = checkout | |
cm = "checkout master" | |
+ cgh = "checkout gh-pages" | |
cb = checkout -b | |
st = status | |
br = branch | |
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit | |
lgp = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit -p | |
a = add | |
cia = commit -a | |
ci = commit | |
c = commit | |
pu = push | |
pub = "!git push -u origin $(git branch-name)" | |
pl = pull | |
cl = clone | |
pf = pull --ff-only | |
pt = push --tags | |
d = diff | |
ds = diff --staged | |
[push] | |
default = simple |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment