Skip to content

Commit 5032f4f

Browse files
committed
update documentation
1 parent 31f7025 commit 5032f4f

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

README.md

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
# git-branch-status
2-
A BASH script that prints out pretty git branch sync status reports
1+
# git-branch-status - print pretty git branch sync status reports
2+
3+
By default, the `git-branch-status` command shows the divergence relationship between branches for which the upstream differs from it's local counterpart.
4+
5+
A number of command-line switches exist selecting various output modes to compare any or all local or remote branches.
36

47
![git-branch-status screenshot][scrot]
58

@@ -16,13 +19,13 @@ USAGE:
1619
1720
EXAMPLES:
1821
19-
# show only branches for which upstream HEAD differs from local
22+
# show only branches for which upstream differs from local
2023
$ git-branch-status
2124
| collab-branch | (behind 1) | (ahead 2) | origin/collab-branch |
2225
| feature-branch | (even) | (ahead 2) | origin/feature-branch |
2326
| master | (behind 1) | (even) | origin/master |
2427
25-
# show all branches - even those with no upstream or no local and those up-to-date
28+
# show all branches - including those up-to-date, with no upstream, or not checked-out
2629
$ git-branch-status -a
2730
$ git-branch-status --all
2831
| master | (even) | (ahead 1) | origin/master |
@@ -53,11 +56,11 @@ EXAMPLES:
5356
$ git-branch-status --help
5457
"prints this usage message"
5558
56-
# show all remote branches - even those with no local
59+
# show all remote branches - including those not checked-out
5760
$ git-branch-status -r
5861
$ git-branch-status --remotes
59-
| master | (behind 1) | (even) | a-remote/master |
60-
| (no local) | n/a | n/a | a-remote/untracked-branch |
62+
| master | (behind 1) | (even) | a-remote/master |
63+
| (no local) | n/a | n/a | a-remote/untracked-branch |
6164
6265
# show all branches with timestamps (like -a -d)
6366
$ git-branch-status -v
@@ -67,9 +70,11 @@ EXAMPLES:
6770
| 1999-12-31 tracked | (even) | (even) | 2000-01-01 origin/tracked |
6871
```
6972

70-
_NOTE: please direct comments, bug reports, feature requests, or PRs to the upstream repo:
71-
[https://github.com/bill-auger/git-branch-status/issues/][issues]_
73+
_NOTE: please direct comments, bug reports, feature requests, or PRs to one of the upstream repos:_
74+
* [https://github.com/bill-auger/git-branch-status/issues/][github-issues]
75+
* [https://notabug.org/bill-auger/git-branch-status/issues/][notabug-issues]
7276

7377

74-
[scrot]: http://bill-auger.github.io/git-branch-status-scrot.png "git-branch-status screenshot"
75-
[issues]: https://github.com/bill-auger/git-branch-status/issues/
78+
[scrot]: http://bill-auger.github.io/git-branch-status-scrot.png "git-branch-status screenshot"
79+
[github-issues]: https://github.com/bill-auger/git-branch-status/issues/
80+
[notabug-issues]: https://notabug.org/bill-auger/git-branch-status/issues/

0 commit comments

Comments
 (0)