diff options
author | Wes Garner <wesgarner@gmail.com> | 2011-01-16 03:07:26 -0600 |
---|---|---|
committer | Wes Garner <wesgarner@gmail.com> | 2011-01-16 03:57:45 -0600 |
commit | a8c03cc89a2a35dc75546ad13057859e7667c231 (patch) | |
tree | a175c57de33b0076d0dc7a393516734430dab58c /README.mkdn | |
parent | 968aa932ef3fff2b3816552d406efce3e83b81ce (diff) | |
download | vendor_replicant-a8c03cc89a2a35dc75546ad13057859e7667c231.zip vendor_replicant-a8c03cc89a2a35dc75546ad13057859e7667c231.tar.gz vendor_replicant-a8c03cc89a2a35dc75546ad13057859e7667c231.tar.bz2 |
cm: Update README
Change-Id: I0b5ef3436246f21fd1ec84ccd23b903750cf9747
Change-Id: I05683f66702db729176df8f516e6954a773a5e4a
cm: Add CMGerrit command to README
Change-Id: I7e871b2cce34cf04efc6eaee2dc9ff3f27d9db9c
Diffstat (limited to 'README.mkdn')
-rw-r--r-- | README.mkdn | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/README.mkdn b/README.mkdn index f776536..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 froyo + (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 --------------- @@ -18,7 +31,7 @@ familiar with [Git and Repo](http://source.android.com/download/using-repo). To initialize your local repository using the CyanogenMod trees, use a command like this: - repo init -u git://github.com/CyanogenMod/android.git -b froyo + repo init -u git://github.com/CyanogenMod/android.git -b gingerbread Then to sync up: |