Skip to content

Instantly share code, notes, and snippets.

@chris-piekarski
Last active May 28, 2019 16:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chris-piekarski/4559476 to your computer and use it in GitHub Desktop.
Save chris-piekarski/4559476 to your computer and use it in GitHub Desktop.
List remote project and local paths using Android repo script.
repo forall -c 'echo $REPO_PROJECT $REPO_PATH'
platform/abi/cpp abi/cpp
platform/bionic bionic
device/fsl/bootloader/uboot bootable/bootloader/uboot-imx
platform/bootable/recovery bootable/recovery
platform/build build
platform/cts cts
platform/dalvik dalvik
platform/development development
device/fsl device/fsl
device/fsl-proprietary device/fsl-proprietary
#use repo to sync one at a time (can clean up from bad git states)
repo forall -c repo sync .
@chris-piekarski
Copy link
Author

repo forall -c 'git tag v7'
repo forall -c 'git push ssh://cpiekarski@serveripl:29418/$REPO_PROJECT --tags'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment