AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Git squash commits8/3/2023 ![]() The way I git things done, so take them with the typical grain of salt.īasics or internals of git and related tooling and platforms, such as Github, Practices given here are definitely opinionated based on my own observations and This post aims to address some common challenges a git novice might faceĭuring a contribution, e.g. I have witnessed many times how quickly an enthusiastic (first-time)Ĭontributor, often with little to no knowledge about git and softwareĭevelopment, can desperately fail due to tooling, terminology or cryptic error Let me tell you that I’ve been in the same situation several times, both as aĬontributor and reviewer, e.g. “Please follow our contribution guidelines and add XYZ to the message.“Can you please rebase your commits onto the latest changes?”.“Please squash your commits before merging.”.Here’s a short list of typical reviewer (or bot) comments you might see during Them into the upstream (“target”) repository. the reviewer requests changes to your code.īut even in the case where your code contribution is fine, the reviewer(s) mightĪsk you to perform additional steps on your commits before accepting (“merging”) (Github, etc.), might feel like black art and overwhelming. ![]() Mastering the git Swiss Army knife, and related code collaboration platforms If you’ve already went through this exercise though, you also know that Solve the next problem in open source land with your newly acquired git foo Request 1 (PR) is merged, your brain is likely going to start looking to Once your feature, fix or enhancement as part of a Github pull Your first contribution to an open source project can be a very rewardingĮxperience.
0 Comments
Read More
Leave a Reply. |