Creates & pushes empty commits without disturbing your index or workspace
- Copy
git-boop.shtogit-boopon your$PATH - Run
git boop
| #!/bin/bash | |
| git reset --soft $(git commit-tree -p HEAD -m "boop" $(git cat-file -p HEAD | grep tree | head -n 1 | awk '{print $2}')) | |
| git push |