Remove obsolete stuffs
This commit is contained in:
12
bin/cmder/vendor/conemu-maximus5/ConEmu/Scripts/git-push-set-upstream.cmd
vendored
Normal file
12
bin/cmder/vendor/conemu-maximus5/ConEmu/Scripts/git-push-set-upstream.cmd
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
@echo off
|
||||
|
||||
rem Using alias "gppu=git-push-set-upstream.cmd & GitShowBranch.cmd" in ConEmu's
|
||||
rem Environment it's easy to push new branches to remote repository.
|
||||
rem The script takes current local branch and push it with --set-upstream flag.
|
||||
|
||||
setlocal
|
||||
for /F "tokens=* USEBACKQ" %%F in (`git rev-parse --abbrev-ref HEAD`) do (
|
||||
set "gitbranch=%%F"
|
||||
)
|
||||
echo on
|
||||
git push origin --set-upstream %gitbranch% %*
|
||||
Reference in New Issue
Block a user