You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: git-branch-status-subtree/README.md
+22-16
Original file line number
Diff line number
Diff line change
@@ -5,10 +5,10 @@ By default, the `git-branch-status` command shows the divergence relationship be
5
5
A number of command-line switches exist, selecting various reports that compare any or all local or remote branches.
6
6
7
7
8
-
![git-branch-status screenshot][scrot]
8
+
![git-branch-status screen-shot][scrot]
9
9
10
10
11
-
#### Notes regarding the screenshot above:
11
+
#### Notes regarding the screen-shot above:
12
12
13
13
* This is showing the exhaustive '--all' report. Other reports are constrained (see 'USAGE' below).
14
14
* The "local <-> upstream" section is itemizing all local branches. In this instance:
@@ -18,18 +18,22 @@ A number of command-line switches exist, selecting various reports that compare
18
18
* The local branch 'master' is tracking remote branch 'origin/master'.
19
19
* The "local <-> kd35a" section is itemizing all branches on the 'kd35a' remote. In this instance:
20
20
* The local branch 'master' is 2 commits behind and 24 commits ahead of the remote branch 'kd35a/master'.
21
+
* The remote 'kd35a' has no other branches.
21
22
* The "local <-> knovoselic" section is itemizing all branches on the 'knovoselic' remote. In this instance:
22
23
* The local branch 'master' is 4 commits behind and 24 commits ahead of the remote branch 'knovoselic/master'.
24
+
* The remote 'knovoselic' has no other branches.
23
25
* The "local <-> origin" section is itemizing all branches on the 'origin' remote. In this instance:
24
-
* The remote branch 'origin/delete-me' is not checked-out locally.
25
-
* The remote branch 'origin/master' is tracked by the local branch 'master'.
26
+
* The remote branch 'origin/delete-me' may or may not be checked-out locally; but no local branch exists with the name: 'delete-me'.
27
+
* The local branch 'deleteme' is at the same commit as the remote branch 'origin/deleteme' but this is not a tracking relationship.
28
+
* The local branch 'master' is tracking the remote branch 'origin/master'.
26
29
* The asterisks to the left of the local 'master' branch names indicate the current working branch.
27
-
* The blue branch names indicate a tracking relationship between a local and it's upstream branch.
28
-
* The "local <-> upstream" section relates tracking branches while remote-specific sections relate identically named branches. This distinction determines the semantics of the green "... synchronized" messages.
29
-
* In the "local <-> upstream" section, this indicates that all local branches which are tracking an upstream are synchronized with their respective upstream counterparts.
30
-
* In remote-specific sections, this indicates that all local branches which have the same name as some branch on this remote are synchronized with that remote branch.
31
-
* In single branch reports, this indicates that the local branch is tracking an upstream branch and is synchronized with it's upstream counterpart.
32
-
* In arbitrary branch comparison reports, this indicates that the two compared branches are synchronized with each other.
30
+
* The blue branch names indicate an explicit tracking relationship between a local branch and it's upstream counterpart.
31
+
* The "local <-> upstream" section relates tracking relationships between local branches and their upstream counterparts; while the remote-specific sections relate identically named branches. Tracking relationships may or may not be indicated in the remote-specific sections, depending on whether or not both counterparts also coincidentally have the same branch name.
32
+
* In addition to the local amd remote reports, there are two other reports that are not shown in the screen-shot: a single branch report and an arbitrary branch comparison report. The report context determines the semantics of the green "... synchronized ..." messages which may appear under the respectively appropriate circumstances, as such:
33
+
* In the "local <-> upstream" section, the green message indicates that all local branches which are tracking an upstream are synchronized with their respective upstream counterparts.
34
+
* In remote-specific sections, the green message indicates that all local branches which have the same name as some branch on this remote are synchronized with that remote branch. These are not necessarily tracking relationships.
35
+
* In single branch reports, the green message indicates that the local branch is tracking an upstream branch and is synchronized with it's upstream counterpart.
36
+
* In arbitrary branch comparison reports, the green message indicates that the two compared branches are synchronized with each other.
0 commit comments