diff --git a/bin/git-sync b/bin/git-sync new file mode 100755 index 0000000..ff3775c --- /dev/null +++ b/bin/git-sync @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +set -euo pipefail + +git fetch --all +git stash +git pull --rebase +git stash pop