Skip to content

Instantly share code, notes, and snippets.

@razbakov
Created October 18, 2022 17:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save razbakov/00455dbf0331b0876baadecde5387671 to your computer and use it in GitHub Desktop.
Save razbakov/00455dbf0331b0876baadecde5387671 to your computer and use it in GitHub Desktop.
git fetch --all
git push origin HEAD
WORK_BRANCH=`git rev-parse --abbrev-ref HEAD`
git checkout development
git rebase origin/development
git merge $WORK_BRANCH --no-edit
git push origin HEAD
git checkout $WORK_BRANCH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment