Git commit against tag with no branch

后端 未结 4 979
野性不改
野性不改 2021-01-30 04:00

If I check out a tagged version of my source code without creating a branch, Git indicates that I\'m not associated with any branch at all. It\'s happy to let me make changes an

4条回答
  •  自闭症患者
    2021-01-30 04:28

    Yes, they'll be in reflogs.

    You can name the branch at any time like this:

    git checkout -b my-branch-name
    

提交回复
热议问题