xcuserstate file git 1

xcuserstate file git

git rm --cached [project].xcodeproj/project.xcworkspace/xcuserdata/[username].xcuserdatad/UserInterfaceState.xcuserstate
git commit -m "Removed file that shouldn't be tracked"

Here is what the above code is Doing:
1. git rm –cached [project].xcodeproj/project.xcworkspace/xcuserdata/[username].xcuserdatad/UserInterfaceState.xcuserstate
This command removes the file from the index, but leaves it on disk.
2. git commit -m “Removed file that shouldn’t be tracked”
This commits the removal of the file from the index.

Similar Posts