使用git brach New_branch_name
只使用git branch 是查询本地有多少branch
创建好之后代码是和master分支是一模一样的。我们还要在github上的registery和本地对应起来使用:
git remote add New_branch_name git@github.com:wayne-china/Quentin.git
然后使用git push -u origin New_branch_name 命令将更改推送上去就OK 了。
然后使用 git checkout branch_name 在不同的branch 之间切换
只使用git branch 是查询本地有多少branch
创建好之后代码是和master分支是一模一样的。我们还要在github上的registery和本地对应起来使用:
git remote add New_branch_name git@github.com:wayne-china/Quentin.git
然后使用git push -u origin New_branch_name 命令将更改推送上去就OK 了。
然后使用 git checkout branch_name 在不同的branch 之间切换
1111

被折叠的 条评论
为什么被折叠?



