dotfiles/bin/git-sync

9 lines
98 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
git fetch --all
git stash
git pull --rebase
git stash pop