Skip to content

Commit

Permalink
reset from origin/main
Browse files Browse the repository at this point in the history
  • Loading branch information
Hau-Hau committed Sep 20, 2024
1 parent f921997 commit 6b34a46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/update-nuspec-file-action/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ runs:
if [[ "$IS_TARGET_BRANCH_EXISTS" == "true" ]]; then
git fetch origin $TARGET_BRANCH_NAME:$TARGET_BRANCH_NAME
git checkout $TARGET_BRANCH_NAME
git reset --hard main
git reset --hard origin/main
else
git checkout -b $TARGET_BRANCH_NAME
fi
Expand Down

0 comments on commit 6b34a46

Please sign in to comment.