This commit is contained in:
Noah Masur 2022-05-16 20:27:26 -04:00
parent d28465e475
commit 82e85a7d95

View File

@ -1,4 +1,6 @@
set -l branch (git branch 2>/dev/null | grep '^\*' | colrm 1 2)
set -l command "git push --set-upstream origin $branch"
commandline -r $command
commandline -f execute
and set -l command "git push --set-upstream origin $branch"
and commandline -r $command
and commandline -f execute
and echo "git push --set-upstream origin $branch"
and git push --set-upstream origin $branch