Created
July 19, 2019 11:46
-
-
Save adithya2306/b716e9a68075e17b89061c2617e914b8 to your computer and use it in GitHub Desktop.
Push commit(s) in a repo to LOS Gerrit even if you're not in LOS env
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
# Push commits to LOS Gerrit | |
git push ssh://<gerrit-user-id>@review.lineageos.org:29418/LineageOS/<repo-name> HEAD:refs/for/<branch> | |
git push ssh://[email protected]:29418/LineageOS/android_device_cyanogen_msm8916-common HEAD:refs/for/lineage-16.0 | |
git push ssh://[email protected]:29418/LineageOS/android_device_yu_lettuce HEAD:refs/for/lineage-16.0 | |
# Install change-id hooks first: | |
gitdir=$(git rev-parse --git-dir); scp -p -P 29418 [email protected]:hooks/commit-msg ${gitdir}/hooks/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment