HomeFreeBSD

porters-handbook: Fix the Git process in Chapter 11.1

Description

porters-handbook: Fix the Git process in Chapter 11.1

In Chapter 11.1 Using Git to Make Patches, there are multiple issues
with the process:

  • git pull --rebase will refuse to work if there are any staged or unstaged changes, so the users are unable to update the repo to the latest.
  • git diff does not work for staged changes, need to add --staged.

This commit attempts to address the above.

PR: 256122
Reported by: Neal Nelson <ports@nicandneal.net>
Reviewed by: bcr, PauAmma <pauamma@gundo.com>
Differential Revision: https://reviews.freebsd.org/D30422

Details

Provenance
ygyAuthored on May 26 2021, 4:08 AM
Reviewer
bcr
Differential Revision
D30422: porters-handbook: Fix the Git process in Chapter 11.1
Parents
R9:d528c1bd0030: Document __FreeBSD_versions 1400016 (KTLS) and 1400017 (OCF).
Branches
Unknown
Tags
Unknown