diff options
author | Mark Powers <mark@marks.kitchen> | 2020-12-18 22:26:07 -0600 |
---|---|---|
committer | Mark Powers <mark@marks.kitchen> | 2020-12-18 22:26:07 -0600 |
commit | f576ed38912bd5132412b5c4ee75d25f564e10f9 (patch) | |
tree | 26fd6d4b92a1609a75dd2a187d2e323d9beace43 | |
parent | 3a3af2ad3dcba142984b51c99a5d04ff9dd409c3 (diff) |
Add set-branch-to
-rwxr-xr-x | repo.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -26,7 +26,8 @@ case $1 in dir="$repo_location$2.git" printf "git init\n" printf "git remote add origin git@marks.kitchen:$dir\n" - printf "git push origin master\n" + printf "git branch --set-upstream-to=origin/master master\n" + printf "git push\n" ;; list) # list repos on the server get_repos |