feat(scripts): add git-sync

This commit is contained in:
Oliver Davies 2023-10-11 18:42:05 +01:00
parent ecaae11b4d
commit ea6a382edc

8
bin/git-sync Executable file
View file

@ -0,0 +1,8 @@
#!/usr/bin/env bash
set -euo pipefail
git fetch --all
git stash
git pull --rebase
git stash pop