Git: gpc add --patch.

This commit is contained in:
Dmitry Voronin 2024-10-18 14:18:35 +03:00
parent 64581d7879
commit 2f9ccd100a
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -117,7 +117,7 @@
# Git patch create.
# Usage: gpc > <FILE>
function gpc() {
git diff --cached --binary
git diff --staged --patch --binary
}
# Git patch (apply).