notes icon indicating copy to clipboard operation
notes copied to clipboard

git-branch

Open zhoukekestar opened this issue 4 years ago • 3 comments

zhoukekestar avatar Oct 14 '21 03:10 zhoukekestar

  • git checkout bugFix
  • git branch -f master bugFix
  • git push --force origin master

zhoukekestar avatar Oct 14 '21 03:10 zhoukekestar

哇~~

SHAR-K avatar Dec 26 '23 01:12 SHAR-K

强行修改远程 master 分支

  • git branch -f origin/master 0.0.2
  • git push origin master --force

zhoukekestar avatar Feb 05 '24 09:02 zhoukekestar