Skip to content
Snippets Groups Projects
Commit 3a05a821 authored by jurgenhaas's avatar jurgenhaas
Browse files

Be more explicit with git push arguments

parent 4b3f4072
No related branches found
No related tags found
No related merge requests found
...@@ -71,9 +71,7 @@ function create { ...@@ -71,9 +71,7 @@ function create {
# Push to remote git repository # Push to remote git repository
if [[ -n ${L3D_GIT_REMOTE} ]]; then if [[ -n ${L3D_GIT_REMOTE} ]]; then
git remote add origin "$L3D_GIT_REMOTE" git remote add origin "$L3D_GIT_REMOTE"
git branch --set-upstream-to=origin/master master git push -u origin master
git pull
git push
fi fi
# Cleanup # Cleanup
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment