Git-提交时On branch master Your branch is up to date with ‘origin/master’. nothing to commit, worki…
如图所示:
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
原因:
版本分支的问题
解决方法:
- 新建一个分支
$ git branch newbranch
2. 检查分支是否创建成功
$ git branch
会有如下提示(前面的*代表的是当前你所在的工作分支)