3 lines
118 B
Bash
Executable file
3 lines
118 B
Bash
Executable file
#!/bin/sh
|
|
# Hard reset HEAD to commit in "snap"-file
|
|
git reset --keep $(cat "$(git rev-parse --git-path ${1:-snap})")
|