[ADD][GIT] Alias to push to new branch & track it
This commit is contained in:
parent
1a4b0a9dc6
commit
5fc613a7c0
|
@ -70,6 +70,7 @@
|
|||
assume = update-index --assume-unchanged
|
||||
unassume = update-index --no-assume-unchanged
|
||||
assumed = "!git ls-files -v | grep ^h | cut -c 3-"
|
||||
push-new = "!git push -u \"${1:-origin}\" \"$(git branch | grep '^* ' | cut -f2- -d' ')\""
|
||||
|
||||
[filter "lfs"]
|
||||
clean = git-lfs clean -- %f
|
||||
|
|
Loading…
Reference in a new issue