git commit提示nothing to commit, w
2022-07-12 本文已影响0人
非著名自行车运动员
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"