Merge "Clean non-bare remote repos"
This commit is contained in:
commit
8dd07b8aa5
@ -29,6 +29,8 @@
|
|||||||
shell: |
|
shell: |
|
||||||
# Reset is needed because we pushed to a non-bare repo
|
# Reset is needed because we pushed to a non-bare repo
|
||||||
git reset --hard
|
git reset --hard
|
||||||
|
# Clean is needed because we pushed to a non-bare repo
|
||||||
|
git clean -xdf
|
||||||
# Undo the config setting we did above
|
# Undo the config setting we did above
|
||||||
git config --local --unset receive.denyCurrentBranch
|
git config --local --unset receive.denyCurrentBranch
|
||||||
# checkout the branch matching the branch set up by the executor
|
# checkout the branch matching the branch set up by the executor
|
||||||
|
Loading…
x
Reference in New Issue
Block a user