git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* a few beginner git questions
@ 2010-03-06  6:42 Thomas Anderson
  2010-03-06  7:01 ` Allan Wind
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Thomas Anderson @ 2010-03-06  6:42 UTC (permalink / raw)
  To: git

A few questions.

1. When do you commit changes and when do you stage changes?  Or maybe
more to the point, what's the difference between doing "stage, commit,
stage, commit" and "stage, stage, commit"?

2. What's the difference between merging and pushing?  In CVS, you
merge code by manually adding changes.  ie. the CVS client doesn't do
the merging - you do.  Yet in Git Gui, there's a Merge menu button, as
if it's now supposed to be somehow automated?

3. Creating branches in Git Gui is easy enough but it's unclear to me
how to switch back to the trunk once you've created a branch.

4. I clone git://github.com/symfony/symfony.git to c:\git\test\root
and clone that to c:\git\test\clone.  I then blank
c:\git\test\clone\README, stage it, commit it and push it and the
change does not appear in c:\git\test\root\README.  I then reopen Git
Gui and open root and there I see the blanked README as an uncommited
state change.  I commit it and the change still does not appear in
c:\git\test\root\README.  Is this what Git should be doing?

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

end of thread, other threads:[~2010-03-08 18:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-06  6:42 a few beginner git questions Thomas Anderson
2010-03-06  7:01 ` Allan Wind
2010-03-06  7:05 ` Tait
2010-03-07  2:23   ` Thomas Anderson
2010-03-07  9:08     ` Dmitry Potapov
2010-03-07  5:02   ` Thomas Anderson
2010-03-07  8:50     ` Dmitry Potapov
2010-03-08 18:55     ` Tait
2010-03-07  9:39 ` Junio C Hamano

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).