Git-Presentation/shell/set-upstream-push
2020-06-16 16:21:13 +01:00

12 lines
223 B
Bash
Executable file

#!/usr/bin/env bash
cd /tmp/demo
echo '$ git branch --set-upstream-to=origin/master master'
git branch --set-upstream-to=origin/master master
echo '$ git push'
git push
echo '$ git status'
git -c color.ui=always status