Skip to main content

Git

Git 分支管理

git checkout -b branch_name # 切换并新建
git branch # 查看分支
git checkout main
git branch -m old_name new_name # 重命名