git上没有要提交的内容,但我的分支上有一些更改
我在项目中做了一些更改,但我无法在我的分支上提交git(另一个而不是分支主控) 我已向master发出拉取请求,因此无法在git上提交:git上没有要提交的内容,但我的分支上有一些更改,git,github,gitlab,phpstorm,push,Git,Github,Gitlab,Phpstorm,Push,我在项目中做了一些更改,但我无法在我的分支上提交git(另一个而不是分支主控) 我已向master发出拉取请求,因此无法在git上提交: marius@marius-Aspire-A515-51G:~/Proiecte/picboard-frontend-react$ git commit -a -m "wip" On branch marius nothing to commit, working tree clean 在这种情况下,我能做些什么?如果修改的文件在本地Git存储库中,请确保不
marius@marius-Aspire-A515-51G:~/Proiecte/picboard-frontend-react$ git commit -a -m "wip"
On branch marius
nothing to commit, working tree clean
在这种情况下,我能做些什么?如果修改的文件在本地Git存储库中,请确保不忽略所述文件:
git check-ignore -v -- path/to/modified/file
如果忽略它,则不会添加/提交它。(或者您需要强制git add:
git addd-f--a/file
,然后提交)以下是我的猜测:
- 在一次你忘记的承诺中;或
- 在集成
时创建的合并提交内部李>master
这是基于您说您已向master发出拉取请求。您做了哪些更改,希望提交?关于某些代码您确定该文件在repo中吗?