nothing added to commit but untracked files present


在码云上有好多版本,不小心删除了部分分支报了下面错误!!!

报错信息:

Commit failed with error
0 files committed,
1 file failed to commit:
test On branch master Your branch is up-to-date with 'origin/master'.
Untracked files: Recycler/Recycler-release-1.0.7.apk packingstation/packingstation-release.apk
packingstation/station.jks nothing added to commit but untracked files present

 

原因:

出现这个问题的原因是在于对应的文件或者对应目录下的文件没有添加.

 

解决方法:

git add Recycler/Recycler-release-1.0.7.apk packingstation/packingstation-release.apk

git push origin master


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM