{"id":2110,"date":"2013-10-27T15:53:49","date_gmt":"2013-10-27T22:53:49","guid":{"rendered":"http:\/\/www.graphics-muse.org\/wp\/?p=2110"},"modified":"2013-10-27T15:53:49","modified_gmt":"2013-10-27T22:53:49","slug":"git-changelog-generation-one-liner","status":"publish","type":"post","link":"https:\/\/www.graphics-muse.org\/wp\/?p=2110","title":{"rendered":"git changelog generation: one liner"},"content":{"rendered":"<p>Needed some place to note this short one-liner for generating a changelog between version releases with git.<\/p>\n<pre style=\"margin-left: 40px;\"><span style=\"color:#000080;\">git log v0.5...v0.6 --pretty=format:&#39;%s&#39;\r\n<\/span><\/pre>\n<p>The output looks something like this.<\/p>\n<pre style=\"margin-left: 40px;\">RM #225: Fix xcc to build when gmp is already installed. This is a back-rev&#39;d patch from Crosstool-NG that required no changes so xcc would be on Fedora 19.\r\nRM #225: Disable XBMC for dev platform build except for tinyxml.\r\nRM #225: crtmpserver depends on tinyxml from XBMC package added by PiBox to Buildroot.\r\n<\/pre>\n<p>This works as long as you&#39;ve tagged your tree.&nbsp; To tag the tree, use an annotated tag and then push to the origin to share it.<\/p>\n<pre style=\"margin-left: 40px;\"><span style=\"color:#000080;\">git tag -a v0.1 -m&quot;Why did I do this?&quot;\r\ngit push origin --tags\r\n<\/span><\/pre>\n<p>Tha&#39;ts it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Needed some place to note this short one-liner for generating a changelog between version releases with git. git log v0.5&#8230;v0.6 &#8211;pretty=format:&#39;%s&#39; The output looks something like this. RM #225: Fix xcc to build when gmp is already installed. This is a back-rev&#39;d patch from Crosstool-NG that required no changes so xcc would be on Fedora [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"jetpack_post_was_ever_published":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":{"0":"post-2110","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-general","7":"czr-hentry"},"jetpack_publicize_connections":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pe9t8-y2","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/2110","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2110"}],"version-history":[{"count":2,"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/2110\/revisions"}],"predecessor-version":[{"id":2112,"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/2110\/revisions\/2112"}],"wp:attachment":[{"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2110"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2110"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2110"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}