Skip to content

Commit 4f76c04

Browse files
committed
reset
1 parent 85ff3c3 commit 4f76c04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/update-subtree.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ jobs:
185185
-c user.name=gitbot -c user.email=git@bot \
186186
merge -Xsubtree=library subtree/library; then
187187
echo "MERGE_CONFLICTS=yes" >> $GITHUB_ENV
188-
git submodule update --init
188+
for d in $(cat ../submodule-heads | cut -f2 -d" ") ; do git reset HEAD $d ; done
189189
git submodule foreach 'grep $sm_path $toplevel/../submodule-heads | cut -f1 -d" " | xargs git checkout'
190190
git -c user.name=gitbot -c user.email=git@bot commit -a -m "Merge from $NEXT_COMMIT_HASH with conflicts"
191191
else

0 commit comments

Comments
 (0)