From patchwork Wed Jan 8 00:31:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johannes Schindelin via GitGitGadget X-Patchwork-Id: 11322417 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5853A1871 for ; Wed, 8 Jan 2020 00:31:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3745D206F0 for ; Wed, 8 Jan 2020 00:31:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="VKfbO1gj" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726276AbgAHAbm (ORCPT ); Tue, 7 Jan 2020 19:31:42 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:38726 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726180AbgAHAbk (ORCPT ); Tue, 7 Jan 2020 19:31:40 -0500 Received: by mail-wm1-f66.google.com with SMTP id u2so733689wmc.3 for ; Tue, 07 Jan 2020 16:31:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:in-reply-to:references:from:date:subject:fcc :content-transfer-encoding:mime-version:to:cc; bh=BsSGqbc6dUBX1zIawc0eVUvO9JBz/IryDV77aXixmy8=; b=VKfbO1gjMX7kx6wAybsDEtdy/aI5O9EUwgcOfQbk7SBZCNS9zdZNmxzYCA/byNgrYA pNGJGMYnlxqbXtX2O/JwlaGDDASF8ejCH4OjsJTXBJq6KBSDZeby/uSJWry7w/pT+xQW FXrVu12TB6HHfVIuTu56NIC67V1LCurii8fV+Ra45sg9l6M5iTtAGHE6nEiplnSigj1j q3GbF9irZktB1ZTUDRLbO++KRtIJY47YI+LUYxJovf7ge6CH4XpGBspekLp2WdjxSRRS Zy8tAzKR0vg69J5gAETe97w4kuAPvARMatAlHT7Mw0b5KnJWWUSSpHRHH5CSvc/Vfd7N lfzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:in-reply-to:references:from:date :subject:fcc:content-transfer-encoding:mime-version:to:cc; bh=BsSGqbc6dUBX1zIawc0eVUvO9JBz/IryDV77aXixmy8=; b=WWuaRpO72HCMUhVEBxG557yvnFdVX7LRg1IyExI32sEHKGqOv4GAJGf678lvHnvJQK qI23aEyIZAcwR/x78oIh0c68nwotKqLbjeQyN5jqxwm9+HxacNc76uoXrfn5+zf313TL IYu6kqq7Qi+6pbVq4F0uB3ErMcqlTMJwzfjReHnTAou+zSlyRQVbItJHGXCIx+z2KbcQ g1swbNLaZzUi6BtPIfYfKzqyWX6XaPAwWllXrEoTjDMQc/F12yufd8gUZIH0WXw6QuT2 gcKRR/me6+5WPYPRJOoBocjo8cveuE3VhH/GnMpaSxu31aXlByaqrNMf6HR7+/GSwJVW lg+g== X-Gm-Message-State: APjAAAVX0R2Anmpu5nXRzUWIugaaBiHAWucpWxEHsBMoVlxSUkkxEe2K reckrXUBfh9Nvx/2mE025ZxhoU/A X-Google-Smtp-Source: APXvYqxtqd7MPTgbrJaW2st487TrqN74CnzAP2guSkTSFOnBcHMan7r/G+1Aihd4E2I7UrnALygWQA== X-Received: by 2002:a05:600c:2c7:: with SMTP id 7mr795903wmn.87.1578443498621; Tue, 07 Jan 2020 16:31:38 -0800 (PST) Received: from [127.0.0.1] ([13.74.141.28]) by smtp.gmail.com with ESMTPSA id g2sm1872090wrw.76.2020.01.07.16.31.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jan 2020 16:31:38 -0800 (PST) Message-Id: <0c75cd8f9727b10af6f6a804177e551ba0217abf.1578443496.git.gitgitgadget@gmail.com> In-Reply-To: References: From: "Heba Waly via GitGitGadget" Date: Wed, 08 Jan 2020 00:31:36 +0000 Subject: [PATCH v2 1/1] doc/gitcore-tutorial: fix prose to match example command Fcc: Sent MIME-Version: 1.0 To: git@vger.kernel.org Cc: Heba Waly , Junio C Hamano , Heba Waly Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org From: Heba Waly In 328c6cb853 (doc: promote "git switch", 2019-03-29), an example was changed to use "git switch" rather than "git checkout" but an instance of "git checkout" in the explanatory text preceding the example was overlooked. Fix this oversight. Signed-off-by: Heba Waly --- Documentation/gitcore-tutorial.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/gitcore-tutorial.txt b/Documentation/gitcore-tutorial.txt index f880d21dfb..c0b95256cc 100644 --- a/Documentation/gitcore-tutorial.txt +++ b/Documentation/gitcore-tutorial.txt @@ -751,7 +751,7 @@ to it. ================================================ If you make the decision to start your new branch at some other point in the history than the current `HEAD`, you can do so by -just telling 'git checkout' what the base of the checkout would be. +just telling 'git switch' what the base of the checkout would be. In other words, if you have an earlier tag or branch, you'd just do ------------