Get the latest tech news

How to fork


- Published on How to fork: Best practices and guide - Authors - Name - Joaquim Rocha Fork maintenance — keeping your changes in sync with the latest updates from the original project — can quickly become a mess. Trust me.

Here is one of the problems that we create for ourselves with such a commit: turns out that upstream has also updated their eslint module version (or even replaced it with something else); so next time we rebase our downstream changes, we will have a conflict! At the end of this cherry-picking session, you have your partial-rebase branch no longer partial but actually it is now your downstream changes, fully rebased on the v1.2.3 from upstream (pat yourself on the back)! You are now ready to continue developing your project, bugging every colleague to keep atomic commits and other tips as top of mind as they send PRs, so next time your job is hopefully easier.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of best practices

best practices

Related news:

News photo

Instagram’s ‘best practices’ tell creators how they should post

News photo

Learn startup best practices with MongoDB, Venture Backed, InterSystems and others at Disrupt 2024

News photo

Go Algorithms and Data Structures: Best Practices for Beginners