You can use `git add --patch` to add specific portions of a file to the
git staging area.

    git add --patch PKGBUILD
    git checkout -- PKGBUILD

Reply via email to