POV-Ray : Newsgroups : povray.off-topic : Nope, I STILL don't understand git branches : Re: Nope, I STILL don't understand git branches Server Time
27 Jan 2026 15:00:09 EST (-0500)
  Re: Nope, I STILL don't understand git branches  
From: Cousin Ricky
Date: 22 Jan 2026 23:25:25
Message: <6972f835$1@news.povray.org>
On 2026-01-22 22:38 (-4), Shay wrote:
> Cousin Ricky <ric### [at] yahoocom> wrote:
>> I created a branch, made some changes there, then switched back to the
>> main branch, and the changes were also in that branch as well.  Why did
>> the changes apply to both branches?  What am I missing?
>>
>> Most baffling is that I got branches to work just 3 weeks ago.  I don't
>> know what I did differently.
> 
> 90% chance you created a branch with `git branch` but then never checked it out.
> Create a branch with `git checkout -b new-branch` to do both at the same time.

Nope, that wasn't it.  It still changes both branches at the same time.


Post a reply to this message

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