From nobody Tue Dec 12 03:26:15 2023 X-Original-To: doc@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Sq3tJ1Km8z53GYG for ; Tue, 12 Dec 2023 03:26:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sq3tH3z91z3clJ for ; Tue, 12 Dec 2023 03:26:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702351575; a=rsa-sha256; cv=none; b=XPwiWQJYABTRtTWsG/JoiCCWstxMuqjRpYX7xzYJqtT1y13+wHR1U2BmX2m+KHeOxOIg4n 22RtURHR36Ce4gqlVwyFjcGyo+6i1LLvpGwyAn2U7bBu+vOW2MZlLrdyiupx3xWBN8u/cY zZTlNOFxALEX25FqqA0XcDJRAnLD/iGx/X9LtMp+rGVsPCdLuFam9RiZQid5GI6e060kEr LmxBX4hpTbnommQWsPez+rJJYCwXt1A/Ysvw/cloVDVMG/n0yhNkiupKASjpWOjletB2/h hrsH+OmaVVKQ+xJduXg8ft3OAYBYtlAOB/3G31FnFnLk7U5+FX2IzMZ4a2dLTw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702351575; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=MqhGcMKvbFSlhtAMgztjrr7ESkleZtHMuLtvoJNv+xM=; b=XqU14bK1RlYJD4x36S6mVTRB8u/L6nMfYWclHn+7Ke/gpTM2z2fiE8VQNr84tqzZKfbBVg 6tSF3UXn9Bo2DfWdFtmovl9kDqbGpAFnwEApG7jnTdfTrNd5j99gpZSW3Sun+HYsAwMGTA cMsB5lf5OBs2mupHZAfFSrD6zbntmwOWIR1y/kwULoJ0j3ELoIIRMTox4JGYlqlagKFW1L HD173ICroJcBudG/R+wiMhnhq3/hLbcI3ytc95zpyp/bRobJW4jXvCEJL4DYjnN7+nWoAs /ZmCOckavVMPgrD8NncOjZ+GUe0EqWkpQRViVQ9IkbZgTkiwXVJSCQ5aUvwh3w== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Sq3tH33CSzyWR for ; Tue, 12 Dec 2023 03:26:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3BC3QFTQ026990 for ; Tue, 12 Dec 2023 03:26:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3BC3QF8k026989 for doc@FreeBSD.org; Tue, 12 Dec 2023 03:26:15 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: doc@FreeBSD.org Subject: [Bug 275713] git commands are incorrect for updating source tree Date: Tue, 12 Dec 2023 03:26:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Books & Articles X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: yoitsmeremember+fbsd@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: doc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Documentation project List-Archive: https://lists.freebsd.org/archives/freebsd-doc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-doc@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275713 Bug ID: 275713 Summary: git commands are incorrect for updating source tree Product: Documentation Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Books & Articles Assignee: doc@FreeBSD.org Reporter: yoitsmeremember+fbsd@gmail.com In the handbook, specifically: https://docs.freebsd.org/en/books/handbook/cutting-edge/#updating-src-obtai= ning-src ...there is a command listed for updating the source tree via git. It stat= es that the tree can be updated with `git pull /usr/src`; however, this is incorrect. To properly update the source tree via git, the command should = be `git -C /usr/src pull`, or alternatively, `cd /usr/src` followed by `git pu= ll`. --=20 You are receiving this mail because: You are the assignee for the bug.=