Converting commits to patch files? HEAD vs HEAD^

2005-07-08 Thread Marc Singer
Jeff Garzik's guide doesn't appear to explain how to get patches back out of the system. I've successfully commited a set of changes. # git diff HEAD^ HEAD This command will produce a diff of the changes I've made. What is the HEAD^? Does it refer to the commit before the last one made?

Re: Converting commits to patch files? HEAD vs HEAD^

2005-07-08 Thread Linus Torvalds
On Fri, 8 Jul 2005, Marc Singer wrote: # git diff HEAD^ HEAD This command will produce a diff of the changes I've made. What is the HEAD^? Does it refer to the commit before the last one made? Yes. The core tools don't understand this syntax, but most of the helper scripts use