fix: git template
This commit is contained in:
+11
-1
@@ -7,13 +7,23 @@
|
|||||||
editor = /usr/local/bin/nvim
|
editor = /usr/local/bin/nvim
|
||||||
excludesfile = ~/.dotfile/git/.gitignore
|
excludesfile = ~/.dotfile/git/.gitignore
|
||||||
[alias]
|
[alias]
|
||||||
merge2 = "!f() { git checkout $1 && git merge $2 && git checkout -; }; f"
|
|
||||||
au = add -u
|
au = add -u
|
||||||
co = checkout
|
co = checkout
|
||||||
cm = commit -m
|
cm = commit -m
|
||||||
st = status
|
st = status
|
||||||
br = branch
|
br = branch
|
||||||
|
pl = pull
|
||||||
|
merge2 = "!f() { git checkout $1 && git merge $2 && git checkout -; }; f"
|
||||||
|
bg = "!f() { git branch | grep $1; }; f"
|
||||||
|
delbr = "!f(){ git branch -D `git branch | grep \"\b$1\"`; };f"
|
||||||
|
cin = commit --amend --no-edit
|
||||||
|
|
||||||
[push]
|
[push]
|
||||||
default = current
|
default = current
|
||||||
[merge]
|
[merge]
|
||||||
tool = vimdiff
|
tool = vimdiff
|
||||||
|
[init]
|
||||||
|
templatedir = $HOME/.dotfile/git/gittemplates
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user