mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-23 10:25:37 +00:00
7 lines
272 B
Fish
7 lines
272 B
Fish
set -l branch (git branch 2>/dev/null | grep '^\*' | colrm 1 2)
|
|
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
|