Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Interactive rebase merge

on branch feature_interview:

  • $ git checkout develop
  • $ git pull
  • $ git checkout feature_interview
  • $ git checkout -b pr_feature_interview
  • $ git rebase -i develop squash all commits, remain one pick
  • $ git commit --ammend (or use git-cola) to change last commit message
  • $ git push origin and create pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment