Last active
August 4, 2016 00:10
-
-
Save rafaelcavalcante/d6fcd029fb1be5041218ada37c8bdb40 to your computer and use it in GitHub Desktop.
my .gitconfig aliases
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] | |
# simple commands | |
co = checkout | |
st = status | |
br = branch | |
cp = cherry-pick | |
ci = commit | |
cob = checkout -b | |
# log commands | |
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=short | |
ld = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=relative | |
le = log --oneline --decorate | |
filelog = log -u | |
fl = log -u | |
dl = "!git ll -1" | |
# diff commands | |
dc = diff --cached | |
diff = diff --word-diff |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment