dotfiles/.local/bin/scripts/git-rc
2021-01-23 19:55:22 +01:00

4 lines
98 B
Bash
Executable file

#!/bin/sh
# Restores the repository version of given files
git reset -- "$@"
git checkout -- "$@"