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

Side by Side Diff: docs/src/git-nav-upstream.txt

Issue 225433003: Add a basic tutorial for the tools in depot_tools. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@git_map
Patch Set: pylint Created 6 years, 8 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 unified diff | Download patch
« no previous file with comments | « docs/src/git-nav-downstream.demo.1.sh ('k') | docs/src/git-nav-upstream.demo.1.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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:
OLDNEW
« no previous file with comments | « docs/src/git-nav-downstream.demo.1.sh ('k') | docs/src/git-nav-upstream.demo.1.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698