dotfiles/.local/bin/git-rc

4 lines
98 B
Bash
Executable file

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