git相关命令

命名

git 分支分为集成分支、功能分支和修复分支,分别命名为 develop、feature 和 hotfix

分支相关命令

  • 创建并切换分支:
    git checkout -b iss53
    相当于:
  • 创建分支
    git branch iss53
  • 切换分支
    git checkout iss53
  • 刪除分支
    git branch -d iss53
  • 刪除远程分支
    git push origin --delete iss53
  • 查看分支
    git branch -a

tag相关命令

git tag xxx发版
git push --tags
https://blog.csdn.net/u013374164/article/details/78831273

你可能感兴趣的:(git相关命令)