贝隆

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

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>

 

posted on 2021-03-17 11:30  贝隆  阅读(1976)  评论(0编辑  收藏  举报