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.

31 lines
848 B
Cheetah

4 years ago
[user]
email = {{ .git_email }}
name = {{ .git_alias }}
[pull]
rebase = false
[push]
default = current
4 years ago
[alias]
a = add
3 years ago
ahead-of-master = log --oneline origin/master..HEAD
b = "!git checkout $(git branch | fzf)"
4 years ago
c = commit
cd = checkout develop
cm = checkout master
cp = cherry-pick
f = fetch -p
4 years ago
m = merge
nb = checkout -b
p = push -u origin
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"
3 years ago
work-in-progress = rebase -i @{u}
refresh = "!git untrack && git gc && git f && git track"
[include]
path = ~/.gitconfig_custom.inc
3 years ago
[credential]
helper = store
[credential "https://github.com"]
helper = cache