Created
July 20, 2015 10:26
-
-
Save lukemorton/b02a8d5199917713f0f5 to your computer and use it in GitHub Desktop.
Aliases for git
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] | |
st = status -sb | |
co = checkout | |
cp = cherry-pick | |
ci = commit | |
br = branch | |
sub = submodule | |
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 | |
undo = reset HEAD^ | |
p = !git stash && git pull --recurse-submodules && git stash pop | |
pp = !git p && git push | |
lsnc = log --pretty=format:"%h\\ %s\\ [%cn]" --decorate | |
y = log --author="Luke\\ Morton" --since="1\\ day\\ ago" --all --reverse --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s" --decorate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment