mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-09-01 04:59:43 +08:00
274082fd77
* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
8 lines
864 B
Markdown
8 lines
864 B
Markdown
# Linear vs Non-Linear
|
|
|
|
A linear history means commits follow a single, straight sequence with no branching or merging, often achieved through rebasing instead of merging. A non-linear history includes branches that diverge and later merge back together, creating a more complex graph of commits. Teams choose between the two based on whether they prioritize a simple, readable log or a history that reflects exactly how work happened in parallel.
|
|
|
|
Visit the following resources to learn more:
|
|
|
|
- [@article@Linear vs Non-Linear History](https://idiv-biodiversity.github.io/git-knowledge-base/linear-vs-nonlinear.html)
|
|
- [@article@Linear git history - Part I](https://jun-sheng.medium.com/linear-git-history-part-i-b97184dde252#:~:text=The%20benefit%20of%20having%20a%20linear%20git%20history&text=It%20is%20easier%20to%20understand,bisect%20to%20track%20a%20bug.) |