4 lines
117 B
Plaintext
4 lines
117 B
Plaintext
|
#!/bin/sh
|
||
|
# Hard reset HEAD to commit in "snap"-file
|
||
|
git reset --keep $(cat "$(git rev-parse --git-dir)/${1:-snap}")
|