Jump to content

  • Log In with Google      Sign In   
  • Create Account

Weapon S

Member Since 19 Jun 2008
Offline Last Active Jan 04 2013 12:20 AM

Topics I've Started

newbie needs git "workflow" or something

04 October 2012 - 08:33 AM

Hi y'all,

the past weeks I have acquainted myself with git. I know most of the basics (apparently not all of the basics :-X). My question is: what is the best way for me to work with git now? I work alone, but have multiple repositories for the same code. (One reason is back-up, the other is practicing with git.) I currently mainly work with "master". Non-bare repositories don't work well that way... (i.e. pushing doesn't update the working directory.)
	   Net
(bare)
/ | \
/ | \
PC1 | PC2
\ | /
USB/other PC's

[What is up with GD's pre and code tags?!]
I guess this mostly resembles a "fully distributed" setup. So should I make a branch for each non-bare repo? Should I setup remote tracking properly? At what commands should I be looking? What is a good resource to read about this sort of thing? (There is A LOT of info on git on-line.)
Thanks in advance.

PARTNERS