Ask HN: How to Teach Git Rebase

https://news.ycombinator.com/item?id=32097443
by poplarstand • 4 years ago
18 13 4 years ago

One of the projects I work on has a Git Rebase workflow. Developers looking to get their changes into the main branch:

1. Do a rebase to get their branch in-sync with main, 2. Squash their branch's commits, 3. Make a push/force push to their branch, and 4. Create a pull request.

Which is lovely, but the process has a gnarly learning curve for our junior devs.

Is anyone familiar with documentation or tooling that does a good job of streamlining this sort of workflow?

Related Stories

Loading related stories...

Source preview

news.ycombinator.com