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