Created
March 4, 2024 15:14
-
-
Save codeslinger/88dce9530ab98ac6c631db7ad69260ac 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 = Toby DiPasquale | |
email = xxx | |
[alias] | |
co = checkout | |
ci = commit | |
st = status | |
pu = push | |
pl = pull | |
b = branch | |
pub = "!f() { git push ${1:-origin} `git symbolic-ref HEAD`; }; f" | |
pul = "!f() { git pull ${1:-origin} `git symbolic-ref HEAD`; }; f" | |
pp = pull -p | |
l = log --graph --pretty=format:'%C(yellow)%h%C(cyan)%d%Creset %s %C(white)- %an, %ar%Creset' | |
lg = log --color --graph --pretty=format:'%C(cyan)%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue) <%an>%Creset' --abbrev-commit | |
ll = log --stat --abbrev-commit | |
d = diff --color-words | |
rl = reflog | |
df = diff | |
dfc = diff --cached | |
hist = log --oneline --graph --decorate | |
s = status -s | |
[web] | |
browser = open | |
[color] | |
branch = auto | |
diff = auto | |
status = auto | |
interactive = 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 = matching | |
[core] | |
deltaBaseCacheLimit = 1G | |
[pull] | |
ff = only | |
[init] | |
defaultBranch = main | |
[filter "lfs"] | |
process = git-lfs filter-process | |
required = true | |
clean = git-lfs clean -- %f | |
smudge = git-lfs smudge -- %f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment