login
Header Space

 
 

Re: Quick question: how to generate a patch?

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Aubrey <aubreylee@...>
Cc: <git@...>
Date: Monday, February 27, 2006 - 11:28 am

Aubrey wrote:

The current best practice involves these steps:
1. Create a topic branch (git checkout -b feature-name)
2. Apply your changes and commit them, preferrably in small and isolated 
steps, making sure it compiles after each change.
3. Run "git format-patch origin".

This will result in one or more commit-patches, which contains your 
author info, the commit-messages you wrote, the commit-time and all 
other such info and ofcourse the diff in unified git format. You can 
send those patches on using "git send-email" or apply them using "git am 
-k 00*.txt".

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Quick question: how to generate a patch?, Aubrey, (Mon Feb 27, 10:57 am)
Re: Quick question: how to generate a patch?, Linus Torvalds, (Mon Feb 27, 12:04 pm)
Re: Quick question: how to generate a patch?, Aubrey, (Mon Feb 27, 12:18 pm)
Re: Quick question: how to generate a patch?, Linus Torvalds, (Mon Feb 27, 12:32 pm)
Re: Quick question: how to generate a patch?, Aubrey, (Mon Feb 27, 1:02 pm)
Re: Quick question: how to generate a patch?, Linus Torvalds, (Mon Feb 27, 1:19 pm)
Re: Quick question: how to generate a patch?, Andreas Ericsson, (Mon Feb 27, 1:09 pm)
Re: Quick question: how to generate a patch?, Linus Torvalds, (Mon Feb 27, 1:28 pm)
Re: Quick question: how to generate a patch?, Aubrey, (Mon Feb 27, 9:55 pm)
Re: Quick question: how to generate a patch?, Linus Torvalds, (Mon Feb 27, 10:09 pm)
Re: Quick question: how to generate a patch?, Aubrey, (Mon Feb 27, 10:48 pm)
Re: Quick question: how to generate a patch?, Aubrey, (Mon Feb 27, 1:18 pm)
Re: Quick question: how to generate a patch?, Andreas Ericsson, (Mon Feb 27, 11:28 am)
speck-geostationary