POV-Ray : Newsgroups : povray.off-topic : More Git weirdness : Re: More Git weirdness Server Time
26 Feb 2024 07:18:15 EST (-0500)
  Re: More Git weirdness  
From: Cousin Ricky
Date: 8 May 2023 00:51:10
Message: <64587fbe$1@news.povray.org>
On 2023-05-07 15:26 (-4), Cousin Ricky wrote:
> I have an old file that I want to update, so I created a branch.  I
> checkout the branch, and edit the file.  But when I checkout branch
> 'main', I find that the file is edited there as well!  I do a git
> restore on main, and the file is also restored in the branch.  It's as
> if there are no branches at all.  What's going on?
I think I have an inkling of what's going on.  Part of my problem is
that it was hard to find Web search keywords that didn't give me complex
instructions on how to accomplish *precisely* what I'm trying to avoid
happening.  But what I managed to find is that it has to do with working
directories and indexes and stages and commits and... somehow the stash
command is supposed to help me with this, but before I touch that, I
think I show know what the hell is going on.  And I don't.

Git is so intricate it still has my head spinning.  I'm glad I saved
intermediate copies of the file, otherwise I could have lost everything
I did since my last backup.  I still haven't figured out how Git is
supposed to make my life easier.


Post a reply to this message

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