5 lines
138 B
Bash
Executable file
5 lines
138 B
Bash
Executable file
#!/bin/sh
|
|
# Remove the given files from the last commit
|
|
# https://stackoverflow.com/a/70197343
|
|
git reset HEAD~ "$@"
|
|
git commit -v --amend
|