[Bug 275713] git commands are incorrect for updating source tree
Date: Tue, 12 Dec 2023 03:26:15 UTC
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.