git创建分支、切换分支

来源:互联网 发布:喋血街头java 编辑:程序博客网 时间:2024/05/17 21:18

切换分支:

 git checkout -B release-1.0

报错:fatal: The current branch release-1.0 has no upstream branch.
To push the current branch and set the remote as upstream, use

 git push --set-upstream origin release-1.0

马云上初始化一个本地项目:
http://git.mydoc.io/?t=180676

原创粉丝点击