dotfiles/bin/git-sync

9 lines
98 B
Plaintext
Raw Normal View History

2023-10-11 17:42:05 +00:00
#!/usr/bin/env bash
set -euo pipefail
git fetch --all
git stash
git pull --rebase
git stash pop