代碼移動(dòng)到 HG 管理后 .gitignore
文件不能用了
然后創(chuàng)建.hgignore
文件 忽略不了下邊的這個(gè)
每次都是沖突
UAV_iOS/UAV_iOS.xcodeproj/project.xcworkspace/xcuserdata/admin.xcuserdatad/UserInterfaceState.xcuserstate
解決辦法
- 終端在項(xiàng)目目錄下 運(yùn)行
hg forget "set:hgignore()"
.hgignore 文件設(shè)置
syntax: regexp
.classpath
.settings/*
.DS_Store
.orig
UAV_iOS/UAV_iOS.xcworkspace/xcuserdata/admin.xcuserdatad/UserInterfaceState.xcuserstate
UserInterfaceState.xcuserstate
xcuserdata
xcuserdata/