We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 53e015c + e8383fa commit a18b83dCopy full SHA for a18b83d
os-autoinst-obs-auto-submit
@@ -115,6 +115,10 @@ make_git_submit_request() {
115
cd "$package"
116
$git switch "$branch"
117
118
+ # base our changes on the latest state of the target repository (which is added as remote "parent" by git-obs)
119
+ $git fetch parent || return $?
120
+ $git reset --hard "parent/$branch"
121
+
122
# remove everything and replace it with the updated files we have just created (in the calling function)
123
rm -v ./*
124
cp -v ../../"$package"/* ./
0 commit comments