Git: Add --index to gp.
This commit is contained in:
parent
2f9ccd100a
commit
1ed85b0f0f
|
@ -123,7 +123,7 @@
|
||||||
# Git patch (apply).
|
# Git patch (apply).
|
||||||
# Usage: gp <FILE>
|
# Usage: gp <FILE>
|
||||||
function gp() {
|
function gp() {
|
||||||
git apply "''${@}"
|
git apply --index "''${@}"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Run git garbage collection.
|
# Run git garbage collection.
|
||||||
|
|
Loading…
Reference in a new issue