How to create a new branch from a tag?

后端 未结 7 2154
不思量自难忘°
不思量自难忘° 2020-12-12 08:56

I\'d like to create a new master branch from an existing tag. Say I have a tag v1.0. How to create a new branch from this tag?

7条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-12 09:39

    My branch list (only master now)

    My tag list (have three tags)

    Switch to new branch feature/codec from opus_codec tag

    git checkout -b feature/codec opus_codec
    

提交回复
热议问题