我在我的Xcode項目中有一個名爲Authentication.plist的文件,並將它添加到我的.gitignore文件中。但是,我無法阻止它通過xcode源代碼控制菜單自動執行git操作。有沒有一種更有效的方法來確保它不被承諾?Xcode不尊重gitignore條目
0
A
回答
1
使用命令git rm --cached Authentication.plist
來解除鎖定文件。
1
相關問題
- 1. 不尊重條件
- 2. GWT .hgignore/.gitignore條目
- 3. 爲什麼git不尊重windows上的.gitignore文件?
- 4. 如果不被尊重的條件
- 5. Makefile有條件的不尊重目標特定的變量
- 6. IE不尊重:
- 7. 如何讓Xcode IDE尊重CONFIGURATION_BUILD_DIR?
- 8. git filter-branch尊重我的初始提交.gitignore
- 9. 我可以讓vim尊重我的.gitignore文件嗎?
- 10. mod_wsgi不尊重WSGIPythonHome
- 11. Android:ViewPager不尊重WRAP_CONTENT?
- 12. MapFragment不尊重matchparent
- 13. url_for不尊重default_url_options
- 14. 寬度不尊重
- 15. GetChildAtPoint不尊重ZOrder
- 16. 約束不尊重
- 17. Eclipse不尊重.cvsignore
- 18. IE不尊重NBSP
- 19. ReactiveCommand不尊重canExecute
- 20. SerialPort.Read(....)不尊重ReadTimeOut
- 21. URLConnection不尊重ReadTimeout
- 22. SpriteKit不尊重zPosition?
- 23. DockedItems不尊重重量
- 24. gitignore子目錄中不允許列入白名單的條目
- 25. Java掃描儀雖然循環條件不尊重條件
- 26. 條件Gitignore
- 27. 向.gitignore添加新條目無效
- 28. 爲什麼Xcode不創建.gitignore文件?
- 29. Xcode不尊重我的iphone xib文件上的約束
- 30. .gitignore不會忽略目錄
gitignore文件在項目上方一個級別。這可能是問題的原因嗎? –
https://help.github.com/articles/ignoring-files/(但我不能保證Xcode會尊重_.gitignore_,即使它放置正確!) – matt