summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWes Garner <wesgarner@gmail.com>2011-01-16 03:59:57 -0600
committerWes Garner <wesgarner@gmail.com>2011-01-16 03:59:57 -0600
commit58a6a905f67a5d996e2a8558e0098362bd9af615 (patch)
tree71c19a671e4da02ce1e5eb76833f401c7a418e88
parent21a54eb30e8c38bb98ef30edfdaac1f544a7cc80 (diff)
downloadandroid-bare-58a6a905f67a5d996e2a8558e0098362bd9af615.tar.gz
android-bare-58a6a905f67a5d996e2a8558e0098362bd9af615.tar.bz2
android-bare-58a6a905f67a5d996e2a8558e0098362bd9af615.zip
manifest: Update README with Gerrit commands
-rw-r--r--README.mkdn21
1 files changed, 17 insertions, 4 deletions
diff --git a/README.mkdn b/README.mkdn
index a522bf7..bbb6ebe 100644
--- a/README.mkdn
+++ b/README.mkdn
@@ -3,12 +3,25 @@ CyanogenMod
Submitting Patches
------------------
-Patches are always welcome! Please send pull requests with your patches! If at all possible please rebase your
-repository before sending a pull request. You can do this by using the following command:
+Patches are always welcome! Please submit your patches via CyanogenMod Gerrit!
+You can do this by using these commands:
- git pull --rebase git://github.com/CyanogenMod/path_to_project.git gingerbread
+ (From root android directory)
+ . build/envsetup.sh
+ (Go to repo you are patching, make your changes and commit)
+ cmgerrit <for(new)/changes(patch set)> <branch/change-id>
+
+ repo start gingerbread .
+ (Make your changes and commit)
+ repo upload .
+Note: "." meaning current directory
+For more help on using this tool, use this command: repo help upload
+
+Make your changes and commit with a detailed message, starting with what you are working with (i.e. vision: Update Kernel)
+Commit your patches in a single commit. Squash multiple commit using this command: git rebase -i HEAD~<# of commits>
+
+To view the status of your and others' patches, visit [CyanogenMod Code Review](http://review.cyanogenmod.com/)
-This makes accepting patches MUCH easier for our comitters.
Getting Started
---------------