MacMusic  |  PcMusic  |  440 Software  |  440 Forums  |  440TV  |  Zicos
git
Search

Evans: Confusing git terminology

Thursday November 2, 2023. 03:56 PM , from LWN.net
Julia Evans has posted a list of
confusing Git terms and behavior along with explanations of what is
actually going on.

“Your branch is up to date with ‘origin/main’”

This message seems straightforward – it’s saying that your main branch is
up to date with the origin!

But it’s actually a little misleading. You might think that this means that
your main branch is up to date. It doesn’t. What it actually means is – if
you last ran git fetch or git pull 5 days ago, then your main branch is up
to date with all the changes as of 5 days ago.

So if you don’t realize that, it can give you a false sense of security.
https://lwn.net/Articles/949833/
News copyright owned by their original publishers | Copyright © 2004 - 2024 Zicos / 440Network
Current Date
May, Mon 6 - 10:54 CEST