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