[英]I can't push to my repository it says Your branch is up-to-date with 'upstream/master' but I have made changes to my files
I can't push to my GITLAB repository I am get this when trying to push to my repository. 我无法推送到我的GITLAB存储库,而尝试推送到我的存储库时却得到了这个提示。 There was not any problems a few days ago pushing to my repository. 几天前推送到我的存储库没有任何问题。
C:\projects\304cem>git commit -m"whatever"
On branch master
Your branch is up-to-date with 'upstream/master'.
Changes not staged for commit:
modified: config/helperFunctions.js
modified: controllers/setupController.js
modified: controllers/userController.js
modified: package.json
Untracked files:
node_modules/.bin/_mocha
node_modules/.bin/_mocha.cmd
node_modules/.bin/forever
node_modules/.bin/forever.cmd
node_modules/.bin/mocha
node_modules/.bin/mocha.cmd
node_modules/forever/
node_modules/mocha/
no changes added to commit
You changes are currently unstaged, do a git add .
您所做的更改当前未进行,请执行git add .
to stage them for commit. 安排他们提交。 To make sure that you have indeed staged your changes, do git status
. 为了确保您确实进行了更改,请执行git status
。 This should show you changes staged for commit. 这应该显示您为提交而进行的更改。
If you don't want to explicitly stage files for commit, use the -a flag while committing. 如果您不想显式暂存文件进行提交,请在提交时使用-a标志。 This will automatically stage your changes and commit. 这将自动暂存您的更改并提交。
git commit -a -m "message"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.