git commit 时报错如下:
nothing to commit, working tree clean
解决方案:
1、本地分支设成远程分支的跟踪分支
git branch -u origin/"remote branch name"
2、git push到远端分支:
git push origin HEAD:"remote branch name"
git commit 时报错如下:
nothing to commit, working tree clean
解决方案:
1、本地分支设成远程分支的跟踪分支
git branch -u origin/"remote branch name"
2、git push到远端分支:
git push origin HEAD:"remote branch name"