dotfiles/.local/bin/scripts/git-rc

5 lines
98 B
Bash
Executable File

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