Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Git Best Practices

Don't rebase commits that you have pushed to GitHub

When you rebase you are basically deleting the history of some of your commits, and creating new commits that have the same effect on another branch. The problem is: if someone else has based work of those commits, when you rebase them things will get messed up. I don't know what will happen, because I've never done it, but everyone says to not do it.