Update code while keeping a linear history

suggest change

A plain git pull merges when the upstream has commits you do not. To replay your local commits on top of that upstream instead:

[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