#rebasing — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #rebasing, aggregated by home.social.
-
Here is a tip for anybody learning #Git and is confused by #merging and #rebasing
We all know git stores commits as snapshots. However, when it comes to merging and rebasing, it's better to think of commits as #diffs that introduce changes (the thing you get with git diff). You are actually combining, splitting, rearranging or deleting diffs - not snapshots.
This requires a slight change in your mental model of git. But the operations will make sense immediately.