Create Gerrit branch from AOSP mirror
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If ssh key has passphrase run ssh-agent first:
ssh-agent
ssh-add ~/.ssh/id_rsa