xcode 左邊導覽列中,類檔案後面的標記“A”,"M","?"……等符號的含義???,xcode

來源:互聯網
上載者:User

xcode 左邊導覽列中,類檔案後面的標記“A”,"M","?"……等符號的含義???,xcode

"M" = Locally modified   
"U" = Updated in repository 
"A" = Locally added   
"D" = Locally deleted   
"I" = Ignored 
"R" = Replaced in the repository 
“–” "=" The contents of the folder have mixed status; display the contents to see individual status 
"?" = Not under source control 


'A'  新增

'D'  刪除
'M'  修改
'R'  替代
'C'  衝突
'I'  忽略
'?'  未受控
'!'  丟失,一般是將受控檔案直接刪除導致

這些標記跟你使用的代碼託管工具或者xcode內建的svn代碼託管工具有關,怎樣消除:

1、代碼中 某檔案後面有 “M” 標記,表示該檔案已被修改,需要 commit.
      (右鍵該檔案 -> source control -> commit selected file...)
2、代碼中 某檔案後面有 “A” 標記,表示該檔案是新添加的,已受SVN管理,需要 commit.
      (右鍵該檔案 -> source control -> commit selected file...)
3、代碼中 某檔案後面有 “?” 標記,表示該檔案是新添加的,並且脫離了SVN的管理,首先需要add,然後 commit.
      (右鍵該檔案 -> source control -> Add,這樣該檔案的標記就變為 “A”,然後在 commit)
4、代碼中 某檔案後面有 “D” 標記,表示該檔案在伺服器上已被刪除,這時update的話,可刪除本地的檔案。
5、代碼中 某檔案後面有 “C” 標記,表示該檔案與伺服器的檔案衝突。




聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.