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

posted @ 2017-11-27 10:41  dub  阅读(3612)  评论(0编辑  收藏  举报