Skip to content

Commit

Permalink
imp: 将 update-submodules.sh 中升级子仓库的方式换为 reset (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiangze-Li authored Feb 29, 2024
1 parent dac0979 commit c8a139e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions update-submodules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
git pull
git submodule init
git submodule update
git submodule foreach git pull origin master
git submodule foreach 'git fetch origin --prune && git reset --hard origin/master'
git commit -am "chore: bump submodules"
git push
git push

0 comments on commit c8a139e

Please sign in to comment.