dotfiles/home/private_dot_config/git/config
2022-07-28 15:58:02 -05:00

39 lines
865 B
Text

[credential]
helper = cache
[core]
excludesfile = /home/daylin/.config/git/ignore
[user]
name = Daylin Morgan
email = daylinmorgan@gmail.com
[submodule]
recurse = true
[pull]
rebase = true
[init]
defaultBranch = main
[branch]
autosetuprebase = always
[alias]
adog = log --all --decorate --oneline --graph
gl = config --global -l
last = log -1 HEAD --stat
ll = log --oneline
st = status -sb
s = status -s
co = checkout
cob = checkout -b
cmt = !git commit -m \"time: $(date +\"%Y.%m.%d %H:%M:%S\")\"
save = !git add -A && git commit -m \"time: $(date +\"%Y.%m.%d %H:%M:%S\")\"
# list aliases
la = "!git config -l | grep alias | cut -c 7-"
test = !git add -A && git commit -m \"$(date)\"
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[help]
autocorrect = 20