TWRP 2 - Using Gerrit

If you plan to make and submit code changes, sign up for an account at http://review.teamw.in/ and make note of your username.  cd into bootable/recovery and run this command once after changing the gerrit username field to your username:

git remote add twgerrit ssh://<gerrit username>@review.teamw.in:29418/TeamWin/Team-Win-Recovery-Project
 
Be sure to add your SSH keys in gerrit.

If you have code changes that you would like to submit:
git add path/filename
 
Do this for each file that you have changed, for example: git add prebuilt/Android.mk
git commit -m "This is your commit message"
 
And finally use this command, adding the correct branch name at the end:
git push twgerrit HEAD:refs/for/<BRANCH NAME>

This will push your change up to our gerrit server for review and verification.  Once your change has been approved it will be merged into our public code base.