You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
function sync_fork() {
|
|
git fetch upstream
|
|
BRANCH=$1
|
|
if [ -z "$BRANCH" ]; then
|
|
BRANCH="main"
|
|
fi
|
|
git rebase upstream/$BRANCH
|
|
git push -f
|
|
}
|
|
|