Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Dec 2023 03:26:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 275713] git commands are incorrect for updating source tree
Message-ID:  <bug-275713-9@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275713

            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-obtaining-src

...there is a command listed for updating the source tree via git.  It states
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 pull`.

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275713-9>