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
相关文章
相关标签/搜索