最終更新:2015-08-24 (月) 19:03:30 (3455d)
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.
容量
AOSP/ブランチ ソースコード .repo含む work tree android-5.1.1_r1 14.5GB 33.7GB 486 android-5.0.1_r1 13.7GB 32.9GB 481 rel-st8-l-r3-partner 13.4GB 27.3GB 417 android-4.4.4_r1? 9.4 GB 43.1GB android-4.4.2_r2 9.2GB 36.9GB 407 android-4.4_r1? 21.1GB android-4.3_r2.1? 17.0GB android-4.2.2_r1 5.7GB 24.2GB 328 - Nautilusの設定でhiddenファイルをon/offして集計