Closed N3X15 closed 7 years ago
We made a testserver branch on github for testing, now we need MoMMI to push to it on command.
git reset --hard
git branch -B testserver origin/testserver
git pull {HEAD_URI} {BRANCH}
HEAD_URI = response['head']['repo']['git_url']
BRANCH = response['head']['ref']
git push -f origin testserver
Done.
We made a testserver branch on github for testing, now we need MoMMI to push to it on command.
Command Flow
git reset --hard
git branch -B testserver origin/testserver
git pull {HEAD_URI} {BRANCH}
HEAD_URI = response['head']['repo']['git_url']
BRANCH = response['head']['ref']
git push -f origin testserver