1
我正在使用Xcode 8和git作爲源代碼管理。我爲這個項目做了一個git。我們怎樣才能刪除未使用的工作副本波紋管PICxcode 8刪除源代碼管理下未使用的工作副本
我要刪除「SAM」工作副本以避免混淆。我們如何刪除它。任何幫助非常感謝。謝謝。
更新:我已經編輯了xcscmblueprint文件。但似乎仍未出現。
這裏是我的xcmblueprint文件(修改後)
{
"DVTSourceControlWorkspaceBlueprintPrimaryRemoteRepositoryKey" : "1D213AF52C5E818A80BAB36B9C687DEB14CD1671",
"DVTSourceControlWorkspaceBlueprintWorkingCopyRepositoryLocationsKey" : {
},
"DVTSourceControlWorkspaceBlueprintWorkingCopyStatesKey" : {
"1D213AF52C5E818A80BAB36B9C687DEB14CD1671" : 9223372036854775807
},
"DVTSourceControlWorkspaceBlueprintIdentifierKey" : "1A669691-0E1E-4D71-AD4F-5F0808376441",
"DVTSourceControlWorkspaceBlueprintWorkingCopyPathsKey" : {
"1D213AF52C5E818A80BAB36B9C687DEB14CD1671" : "eSAM\/"
},
"DVTSourceControlWorkspaceBlueprintNameKey" : "SAMKiosk",
"DVTSourceControlWorkspaceBlueprintVersion" : 204,
"DVTSourceControlWorkspaceBlueprintRelativePathToProjectKey" : "SAMKiosk.xcodeproj",
"DVTSourceControlWorkspaceBlueprintRemoteRepositoriesKey" : [
{
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "https:\/\/github.com\/victory1908\/SingPostESam.git",
"DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git",
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "1D213AF52C5E818A80BAB36B9C687DEB14CD1671"
}
]
}
嗨更新了我原來的xcmblueprint(修改前)
{
"DVTSourceControlWorkspaceBlueprintPrimaryRemoteRepositoryKey" : "1D213AF52C5E818A80BAB36B9C687DEB14CD1671",
"DVTSourceControlWorkspaceBlueprintWorkingCopyRepositoryLocationsKey" : {
},
"DVTSourceControlWorkspaceBlueprintWorkingCopyStatesKey" : {
"CCEA429BB0CEB6873EA4927D131EA2335FDBC324" : 0,
"1D213AF52C5E818A80BAB36B9C687DEB14CD1671" : 9223372036854775807
},
"DVTSourceControlWorkspaceBlueprintIdentifierKey" : "1A669691-0E1E-4D71-AD4F-5F0808376441",
"DVTSourceControlWorkspaceBlueprintWorkingCopyPathsKey" : {
"CCEA429BB0CEB6873EA4927D131EA2335FDBC324" : "SAM",
"1D213AF52C5E818A80BAB36B9C687DEB14CD1671" : "eSAM\/"
},
"DVTSourceControlWorkspaceBlueprintNameKey" : "SAMKiosk",
"DVTSourceControlWorkspaceBlueprintVersion" : 204,
"DVTSourceControlWorkspaceBlueprintRelativePathToProjectKey" : "SAMKiosk.xcodeproj",
"DVTSourceControlWorkspaceBlueprintRemoteRepositoriesKey" : [
{
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "https:\/\/github.com\/victory1908\/SingPostESam.git",
"DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git",
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "1D213AF52C5E818A80BAB36B9C687DEB14CD1671"
},
{
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "https:\/\/github.com\/ZNO-INTL\/SAM.git",
"DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git",
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "CCEA429BB0CEB6873EA4927D131EA2335FDBC324"
}
]
}
嗨,感謝您的幫助。我已更新文件,但未使用的工作副本仍然出現。我更新了編輯後的文件內容 –
您需要更新這四個參數(刪除關於SAM的回購和關於eSAM的回購):DVTSourceControlWorkspaceBlueprintWorkingCopyRepositoryLocationsKey,DVTSourceControlWorkspaceBlueprintWorkingCopyStatesKey,DVTSourceControlWorkspaceBlueprintWorkingCopyPathsKey和DVTSourceControlWorkspaceBlueprintRemoteRepositoriesKey。 –
嗨,我已經更新了我的原始xcmblueprint文件的問題。在編輯的文件中進行一些修改。我可以看看需要改變什麼嗎?非常感謝 –