|
 |
On Sat, 24 Jan 2026 21:29:18 -0400, Cousin Ricky wrote:
> On 2026-01-24 13:25 (-4), Bill Pragnell wrote:
>>
>> Yes, this was my first thought - you need to commit your changes to the
>> current branch or nothing gets tracked. Use 'git add <...>' to stage
>> the changes, 'git commit' to commit them.
>
> Are you saying that changes will show up in *all* branches until they're
> committed to *one* of the branches?
Technically, they don't show up in any branch because the file isn't
tracked. If a file isn't tracked, it exists outside git's "system", and
the file will appear the same in all branches (but it's not in any of
them. If you wipe the directory and then do a git pull, the file won't be
there at all).
--
"I learned long ago, never to wrestle with a pig. You get dirty, and
besides, the pig likes it." - George Bernard Shaw
Post a reply to this message
|
 |