add helpers

master
Braydon Kains 1 year ago
parent c5cb0d7f9b
commit 41df408336
No known key found for this signature in database
GPG Key ID: 1F801ECAABAAF78D

@ -0,0 +1,10 @@
function sync_fork() {
git fetch upstream
BRANCH=$1
if [ -z "$BRANCH" ]; then
BRANCH="main"
fi
git rebase upstream/$BRANCH
git push -f
}
Loading…
Cancel
Save