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

Unified Diff: docs/src/git-nav-upstream.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-nav-downstream.txt ('k') | docs/src/git-thaw.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: docs/src/git-nav-upstream.txt
diff --git a/docs/src/git-nav-upstream.txt b/docs/src/git-nav-upstream.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f09a8b0086f3613d91397ea0d7bac1d607d7bea
--- /dev/null
+++ b/docs/src/git-nav-upstream.txt
@@ -0,0 +1,50 @@
+git-nav-upstream(1)
+=====================
+
+NAME
+----
+git-nav-upstream -
+include::_git-nav-upstream_desc.helper.txt[]
+
+SYNOPSIS
+--------
+[verse]
+'git nav-upstream'
+
+DESCRIPTION
+-----------
+
+'git-nav-upstream' takes the current branch, finds it\'s upstream branch, and
+checks that out.
+
+EXAMPLE
+-------
+
+[subs="quotes,attributes"]
+----
+[white]**$ git map-branches**
+[red]##origin/master##
+ [green]#cool_feature#
+ [aqua]**subfeature *{zwsp}**
+ [green]#frozen_changes#
+ [green]#master#
+[fuchsia]#{NO UPSTREAM}#
+ [green]#bogus_noparent#
+[white]**$ git nav-upstream**
+[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-downstream[1]
+
+include::_footer.txt[]
+
+// vim: ft=asciidoc noexpandtab:
« no previous file with comments | « docs/src/git-nav-downstream.txt ('k') | docs/src/git-thaw.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698