Skip to content

Instantly share code, notes, and snippets.

@blattmann
Last active May 31, 2019 12:16
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 blattmann/4b893d1d4cd7aade0d6bf4ff7cc6d501 to your computer and use it in GitHub Desktop.
Save blattmann/4b893d1d4cd7aade0d6bf4ff7cc6d501 to your computer and use it in GitHub Desktop.
Rebase workflow Inradius

Rebase workflow in Terminal

$ git fetch
$ git rebase origin/master

If you experience merge conflicts:

$ git status

Fix merge conflicts.

$ git add .
$ git rebase --continue

If there's nothing to be fixed and rebase is still active use

$ git rebase --skip

If you experience merge conflicts go back to $ git status

Once all is fixed:

$ git push --force-with-lease

Done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment