peter-nixos/scripts/git-safe-pull
Benson Chu fd0f029e99 Let there be light!
Honestly, you should be ashamed that this hasn't been source
controlled sooner. Tsk tsk tsk.
2024-01-26 08:07:20 -06:00

2 lines
96 B
Bash
Executable file

#!/usr/bin/env sh
git snapshot && git restore . && git fetch --all && git pull && git stash pop