Git: gpc add --patch.
This commit is contained in:
parent
64581d7879
commit
2f9ccd100a
|
@ -117,7 +117,7 @@
|
||||||
# Git patch create.
|
# Git patch create.
|
||||||
# Usage: gpc > <FILE>
|
# Usage: gpc > <FILE>
|
||||||
function gpc() {
|
function gpc() {
|
||||||
git diff --cached --binary
|
git diff --staged --patch --binary
|
||||||
}
|
}
|
||||||
|
|
||||||
# Git patch (apply).
|
# Git patch (apply).
|
||||||
|
|
Loading…
Reference in a new issue