From 7808a519be73aaf96b50acde8a3b80dd6213d1a0 Mon Sep 17 00:00:00 2001 From: Clemens Hammacher Date: Mon, 3 Dec 2018 17:02:17 +0000 Subject: [PATCH] Fix typo in man page for git new-branch The option is --upstream, not --uptstream. R=sergiyb@chromium.org Change-Id: I007dfecae9ba576d65bbb8b96c3f2296d2152a23 Reviewed-on: https://chromium-review.googlesource.com/c/1350747 Auto-Submit: Clemens Hammacher Reviewed-by: Sergiy Belozorov Reviewed-by: Dirk Pranke Commit-Queue: Dirk Pranke --- man/html/git-new-branch.html | 2 +- man/man1/git-new-branch.1 | 2 +- man/src/git-new-branch.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/man/html/git-new-branch.html b/man/html/git-new-branch.html index 369d8190a..4f1177682 100644 --- a/man/html/git-new-branch.html +++ b/man/html/git-new-branch.html @@ -790,7 +790,7 @@ new-branch --upstream_current <branch_name>.

---uptstream <REF> +--upstream <REF>

diff --git a/man/man1/git-new-branch.1 b/man/man1/git-new-branch.1 index a2f2e10d5..14d50601a 100644 --- a/man/man1/git-new-branch.1 +++ b/man/man1/git-new-branch.1 @@ -50,7 +50,7 @@ Conceptually, each branch in your repo represents one \fIChange List (CL)\fR\&. Set the tracking (upstream) branch to the currently\-checked\-out branch\&. .RE .PP -\-\-uptstream +\-\-upstream .RS 4 Set the tracking (upstream) branch to \&. may be a local branch, remote branch, or a tag\&. .RE diff --git a/man/src/git-new-branch.txt b/man/src/git-new-branch.txt index a9f104f39..6d9bc7211 100644 --- a/man/src/git-new-branch.txt +++ b/man/src/git-new-branch.txt @@ -34,7 +34,7 @@ OPTIONS --upstream_current:: Set the tracking (upstream) branch to the currently-checked-out branch. ---uptstream :: +--upstream :: Set the tracking (upstream) branch to . may be a local branch, remote branch, or a tag.