What does this do: git branch -f

后端 未结 1 818
终归单人心
终归单人心 2021-02-12 15:35

I\'m trying to figure out how to use this command properly. I believe this is the command and flag I want to essentially make one branch into my other branch (basically delete a

相关标签:
1条回答
  • 2021-02-12 16:00

    The -f argument stands for --force.

    • If a branch called master already exists, git will not allow you to overwrite it, unless you use -f.
    • Second parameter (sub-branch) will be used to determine where the master branch's HEAD should be pointing to.
    0 讨论(0)
提交回复
热议问题