Last active
March 30, 2017 14:55
-
-
Save murano500k/4576c15b68d9c6009aad8eb8bfb853e8 to your computer and use it in GitHub Desktop.
aosp git gerrit help
This file contains hidden or 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
#don't remove repo | |
#remove only corrupted projects dirs | |
http://xda-university.com/as-a-developer/repo-tips-tricks | |
killall python | |
https://orga.cat/posts/most-useful-git-commands |
This file contains hidden or 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
export BRANCH_OLD="r-car-7" | |
export BRANCH_NEW="android-7.1.1_r22" | |
export BRANCH_OLD="gl-mirror/r-car-7" | |
export BRANCH_NEW="aosp/android-7.1.1_r22" | |
git log --oneline --no-merges $BRANCH_NEW ^$BRANCH_OLD | |
git merge-base $BRANCH_NEW $BRANCH_OLD | |
git branch -r | grep $BRANCH_OLD | wc -l | |
git branch -r | grep $BRANCH_NEW | wc -l |
This file contains hidden or 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
git clone ssh://[email protected]:29418/renesas/device/renesas/salvator/common | |
git checkout r-ncar | |
gitdir=$(git rev-parse --git-dir); scp -p -P 29418 [email protected]:hooks/commit-msg ${gitdir}/hooks/ | |
git add [changes] | |
git commit -s #-s for signed by | |
git push gl-mirror HEAD:refs/for/r-car-7.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment