| OLD | NEW |
| 1 git-nav-upstream(1) | 1 git-nav-upstream(1) |
| 2 ===================== | 2 ===================== |
| 3 | 3 |
| 4 NAME | 4 NAME |
| 5 ---- | 5 ---- |
| 6 git-nav-upstream - | 6 git-nav-upstream - |
| 7 include::_git-nav-upstream_desc.helper.txt[] | 7 include::_git-nav-upstream_desc.helper.txt[] |
| 8 | 8 |
| 9 SYNOPSIS | 9 SYNOPSIS |
| 10 -------- | 10 -------- |
| 11 [verse] | 11 [verse] |
| 12 'git nav-upstream' | 12 'git nav-upstream' |
| 13 | 13 |
| 14 DESCRIPTION | 14 DESCRIPTION |
| 15 ----------- | 15 ----------- |
| 16 | 16 |
| 17 'git-nav-upstream' takes the current branch, finds it\'s upstream branch, and | 17 'git-nav-upstream' takes the current branch, finds it\'s upstream branch, and |
| 18 checks that out. | 18 checks that out. |
| 19 | 19 |
| 20 EXAMPLE | 20 EXAMPLE |
| 21 ------- | 21 ------- |
| 22 | 22 demo:1[] |
| 23 [subs="quotes,attributes"] | 23 1. Note that being in a 'detached HEAD' state is OK. You'll just want to create |
| 24 ---- | 24 a linkgit:git-new-branch[1] from here. |
| 25 [white]**$ git map-branches** | |
| 26 [red]##origin/master## | |
| 27 [green]#cool_feature# | |
| 28 [aqua]**subfeature *{zwsp}** | |
| 29 [green]#frozen_changes# | |
| 30 [green]#master# | |
| 31 [fuchsia]#{NO UPSTREAM}# | |
| 32 [green]#bogus_noparent# | |
| 33 [white]**$ git nav-upstream** | |
| 34 [white]**$ git map-branches** | |
| 35 [red]##origin/master## | |
| 36 [aqua]**cool_feature *{zwsp}** | |
| 37 [green]#subfeature# | |
| 38 [green]#frozen_changes# | |
| 39 [green]#master# | |
| 40 [fuchsia]#{NO UPSTREAM}# | |
| 41 [green]#bogus_noparent# | |
| 42 ---- | |
| 43 | 25 |
| 44 include::_aliases.txt[] | 26 include::_aliases.txt[] |
| 45 | 27 |
| 46 ---- | 28 ---- |
| 47 [alias] | 29 [alias] |
| 48 git up = nav-upstream | 30 git up = nav-upstream |
| 49 ---- | 31 ---- |
| 50 | 32 |
| 51 SEE ALSO | 33 SEE ALSO |
| 52 -------- | 34 -------- |
| 53 linkgit:git-map-branches[1], linkgit:git-nav-downstream[1] | 35 linkgit:git-map-branches[1], linkgit:git-nav-downstream[1] |
| 54 | 36 |
| 55 include::_footer.txt[] | 37 include::_footer.txt[] |
| 56 | 38 |
| 57 // vim: ft=asciidoc: | 39 // vim: ft=asciidoc: |
| OLD | NEW |