-
-
Save kmorcinek/0b9ba33b3159e83935d983206e860644 to your computer and use it in GitHub Desktop.
This file contains 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%Cgreen\\ [%an]" --decorate | |
lst = log --pretty=format:%C(yellow)%h%Cred%d\\ %Creset%s%Cgreen\\ [%an] --decorate -10 | |
lds = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cgreen\\ [%an]" --decorate --date=short | |
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cgreen\\ [%an]" --decorate --numstat | |
lol = log --graph --decorate --pretty=oneline --abbrev-commit --all | |
cp = cherry-pick | |
st = status -s | |
ci = commit | |
co = checkout | |
br = branch | |
diff = diff --word-diff | |
wdiff = diff --word-diff=plain | |
dc = diff --cached | |
r = reset | |
r1 = reset HEAD^ | |
rh = reset --hard | |
rh1 = reset HEAD^ --hard | |
rh2 = reset HEAD^^ --hard | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment