Update code while keeping a linear history

suggest change

Sometimes you need to keep a linear (non-branching) history of your code commits. If you are working on a branch for a while, this can be tricky if you have to do a regular git pull since that will record a merge with upstream.

[alias]
  up = pull --rebase

This will update with your upstream source, then reapply any work you have not pushed on top of whatever you pulled down.

To use:

git up

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents