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