提交git仓库的时候,遇到了如截图所示的问题,提示Your branch is up-to-date with 'origin/master'.
//建立新的分支
git branch newbranch 

//查看分支情况
git branch 

//切换到新分支
git checkout newbranch
git pull //拉取该分支的最新版本

//将新分支合并到主分支
git merge newbranch

//删除分支
git branch -D newbranch

https://www.liaoxuefeng.com/wiki/896043488029600

https://blog.csdn.net/qq_35099224/article/details/90696672