Home / Companies / GitHub / Blog / Post Details
Content Deep Dive

GitHub Protips: Tips, tricks, hacks, and secrets from Sarah Vessels

Blog post from GitHub

Post Details
Company
Date Published
Author
Sarah Vessels
Word Count
1,771
Language
English
Hacker News Points
-
Summary

Sarah Vessels, a GitHub engineer, shares her strategy for managing large pull requests by initially coding all changes in a single branch and later extracting smaller, more focused branches for review. This approach allows her to maintain creative flow and verify that her code functions as expected before organizing it into bite-sized, easily reviewable segments. Vessels uses git cherry-pick and GitHub's pull request features to separate atomic changes into distinct branches, ensuring thorough testing and reducing the cognitive load on reviewers. By "daisy-chaining" these smaller branches, she creates a sequence where each branch builds on the previous one, allowing for efficient merging once dependencies are resolved. This method balances her desire for an uninterrupted coding process with the need for manageable and well-reviewed code integration, ultimately improving team collaboration and code quality.