You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
1.2 KiB
Cheetah

4 years ago
[alias]
a = add
4 years ago
ahead-of-master = log --oneline origin/master..HEAD
b = "!git checkout $(git branch | fzf)"
4 years ago
c = commit
clear = clean -fd
co = checkout
4 years ago
cd = checkout develop
cm = checkout master
cp = cherry-pick
f = fetch -p
4 years ago
nb = checkout -b
p = push -u origin
pf = p --force-with-lease
4 years ago
s = status
track = "!for BRANCH in $(git branch -a | grep remotes | grep -v HEAD); do git branch --track \"${BRANCH#remotes/origin/}\" \"${BRANCH}\"; done"
untrack = "!for BRANCH in $(git branch | grep -v '*'); do git branch -D \"${BRANCH}\"; done"
sync = "!git untrack && git gc && git f && git track"
[color]
ui = true
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
meta = 11
frag = magenta bold
func = 146 bold
commit = yellow bold
old = red bold
new = green bold
whitespace = red reverse
[core]
pager = diff-so-fancy | less --tabs=4 -RFX
[credential]
helper = store
[credential "https://github.com"]
helper = cache
[include]
path = ~/.gitconfig_custom.inc
[interactive]
diffFilter = diff-so-fancy --patch
[pull]
8 months ago
rebase = true
[push]
default = current
[user]
email = {{ .git_email }}
name = {{ .git_alias }}