OLD | NEW |
(Empty) | |
| 1 git-map-branches(1) |
| 2 =================== |
| 3 |
| 4 NAME |
| 5 ---- |
| 6 git-map-branches - |
| 7 include::_git-map-branches_desc.helper.txt[] |
| 8 |
| 9 SYNOPSIS |
| 10 -------- |
| 11 [verse] |
| 12 'git map-branches' |
| 13 |
| 14 DESCRIPTION |
| 15 ----------- |
| 16 |
| 17 Git map-branches displays all local branches such that: |
| 18 |
| 19 * Current branch is [aqua]#cyan#. |
| 20 ** The branch which will be modified with git-commit is denoted with an asterisk |
| 21 (`*`) after the name. |
| 22 * Local branches are [green]#green#. |
| 23 * Remote branches are [red]#red# (usually, the root of all other branches). |
| 24 * `{NO UPSTREAM}` is a special placeholder in [fuchsia]#magenta#. |
| 25 ** Branches which have this as their parent are usually misconfigured, and |
| 26 should be assigned a parent by checking out the branch and running git
branch |
| 27 --set-upstream-to=<correct parent branch>. |
| 28 |
| 29 NOTE: If multiple branches are on the same commit, they will all be cyan. |
| 30 |
| 31 EXAMPLE |
| 32 ------- |
| 33 |
| 34 Given the hypothetical demo repo in linkgit:git-map[1]\'s EXAMPLE section, and |
| 35 assuming that the `frozen_changes` branch was currently checked out, running |
| 36 'git map-branches' would result in an output like: |
| 37 |
| 38 [subs="quotes"] |
| 39 ---- |
| 40 [white]**$ git map-branches** |
| 41 [red]#origin/master# |
| 42 [green]#cool_feature# |
| 43 [green]#subfeature# |
| 44 [aqua]#frozen_changes *# |
| 45 [green]#master# |
| 46 [fuchsia]#{NO UPSTREAM}# |
| 47 [green]#bogus_noparent# |
| 48 [aqua]#duplicate_cool_feature_no_upstream# |
| 49 ---- |
| 50 |
| 51 SEE ALSO |
| 52 -------- |
| 53 linkgit:git-map[1] |
| 54 |
| 55 include::_footer.txt[] |
| 56 |
| 57 // vim: ft=asciidoc noexpandtab: |
OLD | NEW |