What does fast forward while moving away from the remote control mean?

I run git pulltwice and get the following:

$ git pull
remote: Counting objects: 1, done.
remote: Total 1 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (1/1), done.
From git.assembla.com:my-project
   da3f54c..bb335a4  master     -> origin/master
Updating 5934c67..bb335a4
Fast-forward

$ git pull
Already up-to-date.

How to understand this result?

+4
source share
2 answers

You have deleted the remote branch origin/masterto the local branch master.
These two branches did not diverge, there origin/masterwere only some commits.

This way your local masterwas quickly redirected to origin/masterwithout any merge.

Git branches are lightweight; they simply move labels, pointing to specific commits.

+7
source
  • From Pro Git :

    , , , , , Git . , , , , Git , , - " ".

  • , - , .

+3

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


All Articles