按照如下步骤执行(终端命令)
1. git status
modified: LovegoMall.xcworkspace/xcuserdata/Tiny.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
其中Breakpoints_v2.xcbkptlist就是我们想要忽略的文件
2. 删除缓存的Breakpoints_v2.xcbkptlist文件
git rm --cached LovegoMall.xcworkspace/xcuserdata/Tiny.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
3. 删除远程文件
git commit -m LovegoMall.xcworkspace/xcuserdata/Tiny.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
4. git push
5. git status 查看文件是否还存在