Git : Do not write git patch to file by default.
This commit is contained in:
parent
d91f3f33d0
commit
1ae14388c2
|
@ -107,9 +107,9 @@
|
|||
}
|
||||
|
||||
# Git patch create.
|
||||
# Usage: gpc <FILE>
|
||||
# Usage: gpc > <FILE>
|
||||
function gpc() {
|
||||
git diff --cached --binary > "''${@}"
|
||||
git diff --cached --binary
|
||||
}
|
||||
|
||||
# Git patch (apply).
|
||||
|
|
Loading…
Reference in a new issue