Documenting Proper Git Usage

Jonathan Corbet wrote a document for inclusion in the kernel tree describingbest practices for merging and rebasing git-based kernel repositories. As he putit it represented workflows that were actually in current use and it was a livingdocument that hopefully would be added to and corrected over time.

The inspiration for the document came from noticing how frequently LinusTorvaldswas unhappy with how other peopletypically subsystem maintainershandledtheir git trees.

It8217s interesting to note that before Linus wrote the git tool branching andmerging was virtually unheard of in the Open Source world. In CVS it was anightmare horror of leechcraft and broken magic. Other tools were not much better.One of the primary motivations behind gitaside from blazing speedwas infact to make branching and merging trivial operationsand so they have become.

One of the offshoots of branching and merging Jonathan wrote was rebasingaltering the patch history of a local repository. The benefits of rebasing arefantastic. They can make a repository history cleaner and clearer which in turncan make it easier to track down the patches that introduced a given bug. Sorebasing has a direct value to the development process.


Read Full Post

News Link:

Linux Chatter is a news aggregator service that curates some of the best Linux, Cloud, Technical Guides, Hardware and Security news. We display just enough content from the original post to spark your interest. If you like the topic, then click on the 'read full post' button to visit the author's website. Use Linux Chatter to find content from amazing authors!

Note: The content provided has been modified and is not displayed as intended by the author. Any trademarks, copyrights and rights remain with the source.

Disclaimer: Linux Chatter sources content from RSS feeds and personal content submissions. The views and opinions expressed in these articles are those of the authors and do not necessarily reflect those of Linux Chatter.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.