[depot_tools] clarify that new-branch also switch.

The way it was written, it seemed that it behaves as `git branch` instead of `git switch -c`.

R=ajp@google.com

Change-Id: Ibd4a205bd4b537ec7ff7e8235bb7afeee5e88347
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4514781
Reviewed-by: Joanna Wang <jojwang@chromium.org>
Commit-Queue: Arthur Milchior <arthurmilchior@chromium.org>
changes/81/4514781/2
Arthur Milchior 2 years ago committed by LUCI CQ
parent b7c550a6bc
commit 138e18725c

@ -747,7 +747,7 @@ git-new-branch(1) Manual Page
<h2>NAME</h2>
<div class="sectionbody">
<p>git-new-branch -
Create a new branch with correct tracking information.
Create and switch to a new branch with correct tracking information.
</p>
</div>
</div>

@ -28,7 +28,7 @@
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
git-new-branch \- Create a new branch with correct tracking information\&.
git-new-branch \- Create and switch to a new branch with correct tracking information.\&.
.SH "SYNOPSIS"
.sp
.nf

@ -89,7 +89,7 @@ Checkout the upstream branch of the currently checked out branch\&.
.PP
\fBgit-new-branch\fR(1)
.RS 4
Create a new branch with correct tracking information\&.
Create and switch to a new branch with correct tracking information.\&.
.RE
.PP
\fBgit-rebase-update\fR(1)

@ -1 +1 @@
Create a new branch with correct tracking information.
Create and switch to a new branch with correct tracking information.

Loading…
Cancel
Save