Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save scheffershen/3e0446fd40186bc48187a4d4d51d459e to your computer and use it in GitHub Desktop.
Save scheffershen/3e0446fd40186bc48187a4d4d51d459e to your computer and use it in GitHub Desktop.
#Fetch all branches
git fetch --all
#Checkout release branch
git checkout release-1.0.0
#List all branches
gut branch -a
#Merge with squash (Merges the feature-orthographe branch into the current branch, squashing all its commits into a single set of change)
git merge --squash feature-orthographe
#Stage all changes
git add .
#Commit changes
git commit -m "merge feature-orthographe"
#Push to remote
git push origin release-1.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment