Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Create Gerrit branch from AOSP mirror
repo init -u git://server/manifest -b <tag> android-4.1.2_r1
repo sync
repo forall -c 'git branch company/branchname"
repo forall -c 'git checkout company/branchname"
repo forall -c 'git push ssh://cpiekarski@server:29418/$REPO_PROJECT company/branchname:company/branchname'
@chris-piekarski

This comment has been minimized.

Copy link
Owner Author

@chris-piekarski chris-piekarski commented Feb 8, 2013

If ssh key has passphrase run ssh-agent first:

ssh-agent
ssh-add ~/.ssh/id_rsa

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