iannucci@chromium.org | a5d9502 | 2014-03-25 21:30:37 +0000 | [diff] [blame] | 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 |
iannucci@chromium.org | c050a5b | 2014-03-26 06:18:50 +0000 | [diff] [blame] | 21 | (`*`) after the name. |
iannucci@chromium.org | a5d9502 | 2014-03-25 21:30:37 +0000 | [diff] [blame] | 22 | * Local branches are [green]#green#. |
| 23 | * Remote branches are [red]#red# (usually, the root of all other branches). |
calamity@chromium.org | 4cd0a8b | 2014-09-23 03:30:50 +0000 | [diff] [blame] | 24 | * 'branch-heads' branches are [blue]#blue#. |
iannucci@chromium.org | a5d9502 | 2014-03-25 21:30:37 +0000 | [diff] [blame] | 25 | * `{NO UPSTREAM}` is a special placeholder in [fuchsia]#magenta#. |
| 26 | ** Branches which have this as their parent are usually misconfigured, and |
iannucci@chromium.org | c050a5b | 2014-03-26 06:18:50 +0000 | [diff] [blame] | 27 | should be assigned a parent by checking out the branch and running git branch |
| 28 | --set-upstream-to=<correct parent branch>. |
iannucci@chromium.org | a5d9502 | 2014-03-25 21:30:37 +0000 | [diff] [blame] | 29 | |
| 30 | NOTE: If multiple branches are on the same commit, they will all be cyan. |
| 31 | |
Clemens Hammacher | 03640c7 | 2018-12-13 08:08:19 +0000 | [diff] [blame] | 32 | OPTIONS |
| 33 | ------- |
| 34 | |
| 35 | --no-color:: |
| 36 | Turn off colors. |
| 37 | |
| 38 | -v:: |
| 39 | Be more verbose. Pass once to show tracking info, twice for hash and review |
| 40 | URL, thrice for review status. |
| 41 | |
iannucci@chromium.org | a5d9502 | 2014-03-25 21:30:37 +0000 | [diff] [blame] | 42 | EXAMPLE |
| 43 | ------- |
| 44 | |
| 45 | Given the hypothetical demo repo in linkgit:git-map[1]\'s EXAMPLE section, and |
| 46 | assuming that the `frozen_changes` branch was currently checked out, running |
| 47 | 'git map-branches' would result in an output like: |
| 48 | |
iannucci@chromium.org | 2198002 | 2014-04-11 04:51:49 +0000 | [diff] [blame] | 49 | demo:1[] |
iannucci@chromium.org | a5d9502 | 2014-03-25 21:30:37 +0000 | [diff] [blame] | 50 | |
iannucci@chromium.org | c050a5b | 2014-03-26 06:18:50 +0000 | [diff] [blame] | 51 | include::_aliases.txt[] |
| 52 | |
| 53 | ---- |
| 54 | [alias] |
| 55 | git bmap = map-branches |
| 56 | ---- |
| 57 | |
iannucci@chromium.org | a5d9502 | 2014-03-25 21:30:37 +0000 | [diff] [blame] | 58 | SEE ALSO |
| 59 | -------- |
| 60 | linkgit:git-map[1] |
| 61 | |
| 62 | include::_footer.txt[] |
| 63 | |
iannucci@chromium.org | 2198002 | 2014-04-11 04:51:49 +0000 | [diff] [blame] | 64 | // vim: ft=asciidoc: |