git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Newbie: Branch management
@ 2009-07-22 20:41 Dr. Jennifer Nussbaum
  2009-07-22 21:45 ` Allan Kelly
  2009-07-23  5:39 ` Tim Harper
  0 siblings, 2 replies; 4+ messages in thread
From: Dr. Jennifer Nussbaum @ 2009-07-22 20:41 UTC (permalink / raw)
  To: git


Hi,

I hope its OK to ask basic questions on this list.

Im a recent convert to git and having trouble with branches. I mostly work on projects by myself, and what I want is that all branches of everything Im doing are in sync everywhere.

I have a remote repository on my production server that serves as the "main" repository. Then i work on projects on a number of different computers--my main home computer, my main work machine, several non-main computers :-) ... 

I've found it very confusing dealing with branches in this environment. If I have my "master" branch, and decide that i want a "refactoring-templates" branch, what Id *like* to do is create that branch, work on it, commit it, and when I say "git push" I want everything that's new on that computer to be synced to the "main" repository. And then when I get to the next computer, I want to be able to say "git pull" and have everything on that computer by synced *from* the "main" repository.

Instead I get confused by having to push branches separately, and it's confusing that when I do a pull it doesnt necessarily get other branches unless I specify them directly, and so on.

I've looked at the docs on branches and there's something i guess Im missing because this still seems very difficult. Can someone giving me advice on the best way to keep this kind of thing organized?

Thanks!

Jen


      

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

end of thread, other threads:[~2009-07-23  5:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-22 20:41 Newbie: Branch management Dr. Jennifer Nussbaum
2009-07-22 21:45 ` Allan Kelly
2009-07-23  3:15   ` Allen Johnson
2009-07-23  5:39 ` Tim Harper

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