7

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

Mohamed Badr
  • 2,562
  • 2
  • 26
  • 43

1 Answers1

23

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”
rob mayoff
  • 375,296
  • 67
  • 796
  • 848