git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Converting commits to patch files?  HEAD vs HEAD^
@ 2005-07-09  1:38 Marc Singer
  2005-07-09  1:52 ` Linus Torvalds
  2005-07-09  2:41 ` Junio C Hamano
  0 siblings, 2 replies; 4+ messages in thread
From: Marc Singer @ 2005-07-09  1:38 UTC (permalink / raw)
  To: git

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?

If I've made several commits, I'd like to be able to gather several
together and produce a patch file.  Better still, I'd like to be able
to pick a set of discontiguous commits an bundle them into a single
patch.  Ought I be using tags?

Finally, given that the upstream repository is git, what is the way to
push commits upstream?

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-07-09 11:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-09  1:38 Converting commits to patch files? HEAD vs HEAD^ Marc Singer
2005-07-09  1:52 ` Linus Torvalds
2005-07-09  2:41 ` Junio C Hamano
2005-07-09 11:10   ` Catalin Marinas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).