Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what does "behind" mean in source tree? [duplicate]

I'm new to git community, and I use source tree to visualize it but I wonder what is the meaning of "behind" as you can see in the picture enter image description here

like image 523
Mohamed Badr Avatar asked Jun 06 '15 06:06

Mohamed Badr


People also ask

What is meant by Sourcetree?

2760. A free Mercurial and Git Client for Windows and Mac platforms. It provides a graphical interface for repositories, between users and Git, in which simplifies its use for beginners, who haven't mastered Git, and experts, who can be more productive focusing solely on the code.

What is head in Sourcetree?

In git, `HEAD` refers to the last commit in the current branch.

How do I view Sourcetree file history?

Users can navigate to the log/history window by clicking the tick-shaped icon button at the top-left section. Users can also alternatively press Command+1, or navigate it through View > File Status View.

What is push in Sourcetree?

Push changes from a local repository to a remote repository Click Push in the toolbar. Select the local branch to push and the remote branch to push to. Click OK.


1 Answers

It means the upstream “develop” branch (the branch that your “develop” branch is tracking; probably named something like “remotes/origin/develop” in your repo) has eight commits that your “develop” branch doesn't have. The upstream “feature/XXX” branch has one commit that your “feature/XXX” branch doesn't have.

             _ your “feature/XXX”
            |   _ upstream “feature/XXX”
            |  |
            v  v
          ,-o--o
         /
--o--o--o--o--o--o--o--o--o--o--o
        ^                       ^
        |                       |_ upstream “develop”
        |_ your “develop”
like image 165
rob mayoff Avatar answered Sep 21 '22 20:09

rob mayoff