Sunday, October 25, 2015

Google Repo command


Google Repo Command tips:

Intro: The Google repo command used to manage multiple git repository under single umberlla.


To list status for all git repo
repo forall -c 'git status'

To lists status for all with repo name git repository under manifest
repo forall -c 'pwd; git status'
repo forall -c 'pwd; git status -s| cut -c4- '

To pull all the repo changes
repo forall -c 'git reset --hard'
repo forall -c 'git clean -fd'
repo sync && repo start --all



No comments: