2013-04-09 68 views
0

有沒有一種方法來標記gerrits到標籤的列表...標記後,如果我這樣做標籤的回購同步,這些gerrits應該得到同步到workspace..is那裏有一個像dat這樣的選項?以前有人做過這個任何建議嗎?非常感謝。標記gerrits的列表作爲標籤

Commands used to do repo sync 

    $repo init -u git://git.SERVER.com/platform/manifest.git -b refs/tags/label -m versioned.xml #Eg to sync to a label 
    <code snippet> 

    $ repo synC# syncing the code 

回答

1

要創建標籤:

回購FORALL -c 「混帳標籤-a -m \」[標籤說明] \ 「[標籤名稱]」

按標籤遠程倉庫:

回購FORALL -c「混帳推由來[標籤名稱]」

0

您只需編輯您的.repo/manifest.xml的修訂指向perticular標籤...添加默認的版本作爲標籤名。它會同步到僅供標籤..

+0

如何與gerrits..lets列表創建擺在首位標籤說12345,23456,34567 ... – user2125827 2013-04-09 06:36:12