Skip to content

Commit

Permalink
push -f
Browse files Browse the repository at this point in the history
  • Loading branch information
LJHG committed Dec 28, 2024
1 parent 3232fcb commit eaf556a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ fi
# 提交并推送更改
git add -A
git commit -m "Initial commit: Update site content from GitBook"
git push -u origin $BRANCH
git push -u origin $BRANCH -f
if [ $? -ne 0 ]; then
echo "Error: Failed to push changes to $REPO_URL"
exit 1
Expand Down

0 comments on commit eaf556a

Please sign in to comment.