clone某标签代码

git clone --branch calcite-1.18.0 https://hub.fastgit.org/apache/calcite.git

查看当前分支

git branch

切换到其他标签

git checkout xxx

 

切换到标签

git checkout tag_name

 

基于标签创建分支

git branch <new-branch-name> <tag-name>

git checkout newbranch

 

删除本地分支
git branch -d <BranchName>

 

相关文章:

  • 2021-10-31
  • 2022-01-23
  • 2021-12-02
  • 2021-06-07
  • 2021-09-09
  • 2022-12-23
  • 2022-01-08
  • 2021-11-06
猜你喜欢
  • 2021-11-24
  • 2021-11-20
  • 2021-10-10
  • 2022-12-23
  • 2021-11-18
  • 2021-10-10
  • 2022-01-16
相关资源
相似解决方案