Skip to content

satellites: fix checkout sequence when merging requests

Matthias Käppler requested to merge github/fork/davvid/satellite-merge-fix into master

Created by: davvid

"git checkout -b" will fail when the target branch already exists in the satellite repository, which makes gitlab unable to process merge requests.

Change the checkout sequence to be more robust. Use "git checkout " so that an existing branch can be used if it already exists.

Use "git reset --hard" and "git clean" to ensure that the state is known before attempting the merge.

Closes #3697 (closed)

Merge request reports

Loading