"affiliate updated with origin" but not really

Is the message a bit wrong?

When checking a branch (for example b535), git does this and says “Your branch has been updated using“ origin / b535. ” It sounds like this: what I have in my local branch b535is relevant.

$ git checkout b535
Previous HEAD position was 8aa0145... master - resyns
Switched to branch 'b535'
Your branch is up-to-date with 'origin/b535'.

But actually it is not . On execution, git pullhe discovered updates to the remote and updated local branching.

$ git pull origin b535
remote: Counting objects: 39, done.
remote: Compressing objects: 100% (39/39), done.
remote: Total 39 (delta 31), reused 0 (delta 0)
Unpacking objects: 100% (39/39), done.
...
+4
source share
2 answers

, ​​ origin/b535. , git status git pull, git fetch. origin/b535, b535.

+10

, Git , . origin/b535 origin.

git fetch, , Git... Git status.

:

[alias]
    rstatus = "!git fetch && git status"
+3

Source: https://habr.com/ru/post/1627205/


All Articles