Last active
November 22, 2019 10:05
-
-
Save nnathan/640b89771bf8e4de03b7783f7a00e12a 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
[branch] | |
autosetupmerge = true | |
[alias] | |
co = checkout | |
ci = commit | |
st = status | |
br = branch -a -vvv | |
brs = branch -a -vvv --sort committerdate | |
co = checkout | |
df = diff | |
ds = diff --staged | |
lg = log -p | |
ll = log --graph --pretty=format:'%C(yellow)%h%C(cyan)%d%Creset %s %C(white)- %an, %ar%Creset' | |
wt = worktree | |
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short | |
type = cat-file -t | |
dump = cat-file -p | |
plog = log --color --pretty=format:\"%C(red)%h %C(yellow)%ad %C(green)%an%C(reset): %s\" --date=short | |
unstage = reset HEAD -- | |
uncommit = reset --soft HEAD^ | |
cdiff = diff --cached | |
branches = branch -a | |
rl = reflog --pretty=reflog | |
[pretty] | |
reflog = %C(auto)%h %<|(20)%gd %C(blue)%cr%C(reset) %gs (%s) | |
[color] | |
ui = auto | |
[color "branch"] | |
current = cyan | |
local = yellow | |
remote = green | |
[color "diff"] | |
meta = white bold | |
frag = cyan bold | |
old = red bold | |
new = green bold | |
[color "status"] | |
added = cyan | |
changed = green | |
untracked = yellow | |
[push] | |
default = simple | |
[diff] | |
tool = vimdiff | |
[core] | |
editor = vim | |
[user] | |
name = Bill Gates | |
email = billg@microsoft.com | |
[rerere] | |
enabled = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment