Created
May 23, 2018 09:19
-
-
Save bench/74b1f2c2add718a95fc2d914b6476eb2 to your computer and use it in GitHub Desktop.
My gitconfig file
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
[user] | |
name = Benjamin Chenebault | |
email = [email protected] | |
[push] | |
default = simple | |
[alias] | |
cp = cherry-pick | |
st = status -s | |
cl = clone | |
ci = commit | |
co = checkout | |
br = branch -vv | |
diff = diff --word-diff | |
dc = diff --cached | |
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 | |
filelog = log -u | |
alias = "!git config -l | grep alias | cut -c 7-" | |
lg1 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all | |
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all | |
lg = !"git lg1" | |
[core] | |
editor = vim | |
[merge] | |
tool = p4merge | |
[pull] | |
rebase = true | |
[rerere] | |
enabled = true | |
[http] | |
cookiefile = /home/bchenebault/.gitcookies | |
[status] | |
showUntrackedFiles = all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment