Xcode 自帶git 使用,忽略用戶數據

終端命令:git

1.git rm --cachedxcode

2.git commit -m "Removed file that shouldn't be tracked"spa

3.git pushcode


或者以下面所示:it

$ git rm --cached iLedger.xcodeproj/project.xcworkspace/xcuserdata/Alex.xcuserdatad/UserInterfaceState.xcuserstate
$ git commit -m "Removed the stupid strange file that shouldn't be tracked"
$ git push
相關文章
相關標籤/搜索