Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: docs/src/git-nav-downstream.txt

Issue 200903002: Add documentation for git-map-branches, git-map, git-nav-downstream, (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@documentation
Patch Set: rebase Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « docs/src/git-map-branches.txt ('k') | docs/src/git-nav-upstream.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: docs/src/git-nav-downstream.txt
diff --git a/docs/src/git-nav-downstream.txt b/docs/src/git-nav-downstream.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d76b6dce7fa4eceadb058dcef6b45152216fa58a
--- /dev/null
+++ b/docs/src/git-nav-downstream.txt
@@ -0,0 +1,58 @@
+git-nav-downstream(1)
+=====================
+
+NAME
+----
+git-nav-downstream -
+include::_git-nav-downstream_desc.helper.txt[]
+
+SYNOPSIS
+--------
+[verse]
+'git nav-downstream'
+
+DESCRIPTION
+-----------
+
+'git-nav-downstream' takes the current branch and discovers all branches
+downstream of it. If there is only one branch downstream of the current branch,
+the command will check that out. If there\'s more than one downstream branch, the
+command will prompt you with a selection of the branches.
+
+EXAMPLE
+-------
+
+[subs="quotes,attributes"]
+----
+[white]**$ git map-branches**
+[red]**origin/master *{zwsp}**
+ [green]#cool_feature#
+ [green]#subfeature#
+ [green]#frozen_changes#
+ [green]#master#
+[fuchsia]#{NO UPSTREAM}#
+ [green]#bogus_noparent#
+[white]**$ git nav-downstream**
+
+Please select a downstream branch
+ 0. cool_feature
+ 1. frozen_changes
+ 2. master
+Selection (0-2)[0]: 0
+[white]**$ git map-branches**
+[red]##origin/master##
+ [aqua]**cool_feature *{zwsp}**
+ [green]#subfeature#
+ [green]#frozen_changes#
+ [green]#master#
+[fuchsia]#{NO UPSTREAM}#
+ [green]#bogus_noparent#
+----
+
+SEE ALSO
+--------
+linkgit:git-map-branches[1], linkgit:git-nav-upstream[1]
+
+include::_footer.txt[]
+
+// vim: ft=asciidoc noexpandtab:
« no previous file with comments | « docs/src/git-map-branches.txt ('k') | docs/src/git-nav-upstream.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698