6 lines
154 B
Plaintext
6 lines
154 B
Plaintext
|
#!/bin/sh
|
||
|
# Remove the given files from the last commit
|
||
|
#git diff -p HEAD~ -- "$@" | git apply --reverse --cached
|
||
|
git reset HEAD~ "$@"
|
||
|
git commit --amend
|