dotfiles/dot_local/bin/executable_xxtip

13 lines
220 B
Plaintext
Raw Normal View History

2023-09-15 15:46:04 -04:00
#!/bin/sh
current_branch="$(git branch --show-current)"
trap back_to_current_branch 1 2 3 6 15
back_to_current_branch() {
git checkout "$current_branch"
exit 1
}
2024-01-24 08:55:47 -05:00
git fetch upstream master
git rebase upstream/master