Created
February 25, 2020 14:00
-
-
Save rockstar2046/dc342917a60279604d177a23ade2fcfc to your computer and use it in GitHub Desktop.
gitconfig
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
[user] | |
name = | |
email = | |
[core] | |
editor = vim | |
autocrlf = input | |
excludesfile = ~/.gitignore_global | |
[color] | |
diff = auto | |
status = auto | |
branch = auto | |
interactive = auto | |
ui = true | |
pager = true | |
[merge] | |
ff = false | |
tool = vimdiff | |
[alias] | |
l = log --stat | |
ll = log --pretty=format:'%C(yellow)%h %Cred%ad %Cblue%an%Cgreen%d %Creset%s' --date=short | |
lls = log --pretty=format:'%C(yellow)%h %Cred%ad %Cblue%an%Cgreen%d %Creset%s' --date=short --stat | |
lga = log --graph --decorate --abbrev-commit --all | |
lgas = log --graph --decorate --abbrev-commit --all --stat | |
lgac = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold green)%an%Creset %Cgreen<%ae>%Creset' --abbrev-commit --all | |
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 | |
lg1s = log --stat --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 | |
lg2s = log --stat --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" | |
lgs = !"git lg1s" | |
s = status | |
a = add | |
b = branch | |
c = checkout | |
cp = cherry-pick | |
m = commit | |
d = diff | |
dt = difftool | |
ds = diff --name-status | |
t = tag | |
r = remote | |
[push] | |
default = matching | |
[diff] | |
tool = vimdiff | |
[difftool] | |
prompt = false | |
[mergetool] | |
prompt = false | |
keepBackup = false | |
[http] | |
proxy = |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment