[cairo-commit] [cairo-www] src/cairomm.mdwn
Carl Worth
cworth at freedesktop.org
Sun Mar 23 03:30:30 PDT 2008
src/cairomm.mdwn | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
New commits:
commit 31590d01defccbe0f1086d6aef87b0db227b357b
Author: Carl Worth <cworth at freedesktop.org>
Date: Sun Mar 23 03:30:29 2008 -0700
web commit by murrayc: Move the "git commit" bit up to the non-developer section because it is needed to make the patch. Add ChangeLog advice (demands). Don't be like the nasty cairo changelog.
diff --git a/src/cairomm.mdwn b/src/cairomm.mdwn
index dd3c7c1..8d84179 100644
--- a/src/cairomm.mdwn
+++ b/src/cairomm.mdwn
@@ -80,6 +80,12 @@ You can update a local repository by pulling the changes from the central reposi
## To create and submit patches
+When you've made some changes, you can commit them to your local repository with the command:
+
+ git commit -a -m "Commit message"
+
+The commit message should generally be a copy/paste of your entry in the ChangeLog. Always remember to make an entry in the ChangeLog, in the style of the existing ChangeLog entries. It's particularly important to mention what you changed in each file and to mention the overall aim of your changes, including any relevant bugzilla bug number.
+
If you don't have a developer account (and thus can't push directly to the central repository), but would like to have some of your local changes incorporated into the central repository, you can create a patch with the following command:
git format-patch origin
@@ -94,12 +100,6 @@ You can then open a bug and attach these patches so that someone with a develope
## If you have write access
-when you've made some changes, you can commit them to your local repository with the command:
-
- git commit -a -m "Commit message"
-
-The commit message should generally be a copy/paste of your entry in the ChangeLog. Always remember to make an entry in the ChangeLog, in the style of the existing ChangeLog entries.
-
After you've made one or more commits to your local repository and you want to push them out to the central repository (if your repository was checked out with the developer command above), you can do so with the following command:
git push origin
More information about the cairo-commit
mailing list