Article 6G2J5 Evans: Confusing git terminology

Evans: Confusing git terminology

by
corbet
from LWN.net on (#6G2J5)
Julia Evans has posted a list ofconfusing Git terms and behavior along with explanations of what isactually going on.

Your branch is up to date with origin/main'"

This message seems straightforward - it's saying that your main branch isup to date with the origin!

But it's actually a little misleading. You might think that this means thatyour main branch is up to date. It doesn't. What it actually means is - ifyou last ran git fetch or git pull 5 days ago, then your main branch is upto 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.

External Content
Source RSS or Atom Feed
Feed Location http://lwn.net/headlines/rss
Feed Title LWN.net
Feed Link https://lwn.net/
Reply 0 comments