dotfiles/dot_gitconfig

51 lines
1.5 KiB
Plaintext
Executable File

[core]
editor = vi
excludesfile = ./.gitignore_global
[include]
path = .gituser # Store personal data in external file
[alias]
b = branch
c = checkout
d = diff
co = commit
l = 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(auto)%d%C(reset)'
ll = 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 cyan)(committed: %cD)%C(reset) %C(auto)%d%C(reset)%n'' %C(white)%s%C(reset)%n'' %C(dim white)- %an <%ae> %C(reset) %C(dim white)(committer: %cn <%ce>)%C(reset)'
ls = ls-files
pl = pull
ps = push
r = rebase
s = status
sa = stash apply
sc = stash clear
st = stash
w = whatchanged -p
wo = whatchanged -p origin..
ign = ls-files -o -i --exclude-standard
track = branch --set-upstream
undo = reset --soft HEAD^
unstage = reset HEAD --
[color]
branch = auto
diff = auto
status = auto
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[push]
default = simple
autoSetupRemote = true
[pull]
rebase = true