Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Development Team/Code Review
(view source)
Revision as of 23:02, 1 June 2009
No change in size
,
23:02, 1 June 2009
no edit summary
Line 32:
Line 32:
Another alternative that will give you a patch in a file called 0001-My-cool-patch.patch:
Another alternative that will give you a patch in a file called 0001-My-cool-patch.patch:
−
git
-
add new_file1 new_file2
+
git add new_file1 new_file2
−
git
-
commit -a -m 'My cool patch'
+
git commit -a -m 'My cool patch'
−
git
-
format-patch HEAD^
+
git format-patch HEAD^
−
git
-
reset --hard HEAD^
+
git reset --hard HEAD^
== Patch submission ==
== Patch submission ==
Line 70:
Line 70:
Generate a patch set using git. The following command will create one file per commit in the current directory.
Generate a patch set using git. The following command will create one file per commit in the current directory.
−
git
-
format-patch origin
+
git format-patch origin
Make sure that the ticket number is referenced in the commit description!
Make sure that the ticket number is referenced in the commit description!
Bernie
Bureaucrats
,
Check users
,
Administrators
1,770
edits