Skip to content
Snippets Groups Projects
Commit 4b3f4072 authored by jurgenhaas's avatar jurgenhaas
Browse files

Set upstream branch tracking for git pull and push

parent 733874c0
No related branches found
Tags v1.12.7
No related merge requests found
......@@ -71,6 +71,7 @@ function create {
# Push to remote git repository
if [[ -n ${L3D_GIT_REMOTE} ]]; then
git remote add origin "$L3D_GIT_REMOTE"
git branch --set-upstream-to=origin/master master
git pull
git push
fi
......
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