POV-Ray : Newsgroups : povray.off-topic : Git branches on local machine? : Re: Git branches on local machine? Server Time
28 Nov 2021 16:31:57 EST (-0500)
  Re: Git branches on local machine?  
From: Cousin Ricky
Date: 31 Oct 2021 19:29:01
Message: <617f26bd$1@news.povray.org>
On 2021-10-24 5:14 AM (-4), BayashiPascal wrote:
> 
> The files you're seeing in the directory of the repository are the files of the
> currently selected branch. 'git status' will tell you on which branch you
> currently are if you forgot. To select a branch, you can use 'git checkout
> name_your_branch'. After selecting another branch, if you look again in the
> directory it will contain the files of that selected branch. Behind the scene
> git moves files from/to hidden folders, so everything is there but you only see
> the files of one branch at a time.

Thanks, that's really clever!

I haven't been ignoring you.  I've just been spending the past week
trying to deal with it. I set up a sandbox repo to try to see what was
going on, couldn't get the branching to work, set up a 2nd sandbox repo,
re-watched that hour long tutorial video, paused it every few seconds to
take detailed notes, rewound the video frequently, returned to the 1st
sandbox video, and went back and forth between Git-Cola, the command
line, and my notes.

Eventually, I figured out--or so I think--that I skipped a step in the
sandbox, and that's why I couldn't get it to work.  (Like I said in the
last thread, my head can't seem to retain Git commands and procedures
past an hour or so.)  I applied that step, and things then looked as you
described.  I presume that this shit will become intuitive at some
point; how long did it take you all?


Post a reply to this message

Copyright 2003-2021 Persistence of Vision Raytracer Pty. Ltd.