最終更新:2015-08-24 (月) 19:03:30 (1402d)  

repo sync はてなブックマークを見る
Top / repo sync

Update working tree to the latest revision

http://source.android.com/source/using-repo.html#sync

便利な機能

  • 並列数を増やす(ICSからデフォルトの並列数が1→4に)
    repo sync -j16

オプション

  • -d: switch specified projects back to the manifest revision. Helpful if the project is currently on a topic branch, but the manifest revision is temporarily needed.
  • -s: sync to a known good build as specified by the manifest-server element in the current manifest.
  • -f: proceed with syncing other projects even if a project fails to sync.

repo sync -d

  • repo synd -d
    repo forall -c 'git reset --hard'    # Remove all working directory (and staged) changes.
    repo forall -c 'git clean -f -d'     # Clean untracked files

完了メッセージ

  • Syncing work tree: 100% (407/407), done.

容量

関連