{"id":14826,"date":"2011-05-05T14:39:24","date_gmt":"2011-05-05T12:39:24","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/?p=14826"},"modified":"2011-05-05T20:40:13","modified_gmt":"2011-05-05T18:40:13","slug":"branches-graph-at-github","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2011\/05\/05\/branches-graph-at-github\/","title":{"rendered":"Branches graph at GitHub"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p>One of my favorite features of <a href=\"http:\/\/github.com\">GitHub<\/a> (and, probably, pretty much any other git client) is the graphical representation of branches. \u00a0It usually gives a crystal clear picture of how the source tree came about to be. \u00a0But I think today I actually managed to confuse the heck out of it. \u00a0Have a look at the screenshot below.<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"14827\" data-permalink=\"https:\/\/mamchenkov.net\/wordpress\/2011\/05\/05\/branches-graph-at-github\/github-confused\/\" data-orig-file=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2011\/05\/github-confused.png?fit=348%2C143&amp;ssl=1\" data-orig-size=\"348,143\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"GitHub Confused\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2011\/05\/github-confused.png?fit=348%2C143&amp;ssl=1\" class=\"aligncenter size-full wp-image-14827\" title=\"GitHub Confused\" src=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2011\/05\/github-confused.png?resize=348%2C143&#038;ssl=1\" alt=\"\" width=\"348\" height=\"143\" \/><\/p>\n<p>A couple of commits ago it was a master branch (black) and a stable branch (magenta). \u00a0Then I (if I remember correctly) created a test branch from the latest stable, pushed it, switched to stable branch, reverted one commit, and pushed it as well, then added a couple of commits to master and merged it into test. \u00a0Pushed and got the thing above. \u00a0Weird looking source tree mutant.<\/p>\n<p>Anyway, I&#8217;m sure it will sort itself out some time later.<\/p>\n<p>P.S.: Indeed, as expected, after just a few more merges, commits, and pushes the tree sorted itself out. \u00a0Lovely GitHub, very lovely!<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>One of my favorite features of GitHub (and, probably, pretty much any other git client) is the graphical representation of branches. \u00a0It usually gives a crystal clear picture of how the source tree came about to be. \u00a0But I think today I actually managed to confuse the heck out of it. \u00a0Have a look at &hellip; <a href=\"https:\/\/mamchenkov.net\/wordpress\/2011\/05\/05\/branches-graph-at-github\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Branches graph at GitHub<\/span><\/a><\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_links_to":"","_links_to_target":""},"categories":[1,18,62],"tags":[2265,2809,1588],"keyring_services":[],"class_list":["post-14826","post","type-post","status-publish","format-standard","hentry","category-general","category-programming","category-technology","tag-git","tag-github","tag-version-control"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":27629,"url":"https:\/\/mamchenkov.net\/wordpress\/2017\/05\/28\/gitflow-considered-harmful-and-how-we-do-it\/","url_meta":{"origin":14826,"position":0},"title":"GitFlow considered harmful, and how we do it","author":"Leonid Mamchenkov","date":"May 28, 2017","format":false,"excerpt":"I came across this rather strongly opinionated blog post -\u00a0GitFlow considered harmful, and I have to say that I mostly agree with it. In our company, we use a similar approach to the Anti-gitflow, but with even more simplicity. \u00a0This is one particular thing I like so much about git\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":23545,"url":"https:\/\/mamchenkov.net\/wordpress\/2015\/02\/18\/git-stats-a-github-like-contributions-calendar-but-locally-with-all-your-git-commits\/","url_meta":{"origin":14826,"position":1},"title":"git-stats &#8211; a GitHub-like contributions calendar, but locally, with all your git commits","author":"Leonid Mamchenkov","date":"February 18, 2015","format":"link","excerpt":"git-stats - a GitHub-like contributions calendar, but locally, with all your git commits","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"git-stats","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2015\/02\/git-stats-500x369.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":14756,"url":"https:\/\/mamchenkov.net\/wordpress\/2011\/04\/14\/day-in-brief\/","url_meta":{"origin":14826,"position":2},"title":"Day in brief","author":"Leonid Mamchenkov","date":"April 14, 2011","format":false,"excerpt":"Shared: 3 \u043d\u043e\u0432\u044b\u0445 \u043a\u043e\u043d\u0441\u0443\u043b\u044c\u0441\u0442\u0432\u0430 \u041a\u0438\u043f\u0440\u0430 \u0432 \u0420\u043e\u0441\u0441\u0438\u0438 http:\/\/bit.ly\/hnzFZo # GitHub: mamchenkov created branch master at mamchenkov\/dotfiles http:\/\/bit.ly\/ewFIQE # GitHub: mamchenkov created repository dotfiles http:\/\/bit.ly\/h2OoDl # GitHub: mamchenkov pushed to master at mamchenkov\/vimfiles http:\/\/bit.ly\/i797rc # GitHub: mamchenkov created branch master at mamchenkov\/vimfiles http:\/\/bit.ly\/ihPD65 # GitHub: mamchenkov created repository vimfiles http:\/\/bit.ly\/eURS7S #\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":15844,"url":"https:\/\/mamchenkov.net\/wordpress\/2011\/11\/03\/day-in-brief-2011-11-03\/","url_meta":{"origin":14826,"position":3},"title":"Day in brief &#8211; 2011-11-03","author":"Leonid Mamchenkov","date":"November 3, 2011","format":false,"excerpt":"Happy birthday Vim! Slashdot : Vim Turns 20 http:\/\/t.co\/BxtvCNNp # Slashdot : Google Starts Indexing Facebook Comments http:\/\/t.co\/6mMWcTqO # Limassol Jazz Festival 2011 http:\/\/t.co\/bYf8AFsU # Our marketing guy is being SMS spammed every morning with special offers and deals. He wonders why. My answer: KARMA!!! :) # GitHub: mamchenkov created\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":14772,"url":"https:\/\/mamchenkov.net\/wordpress\/2011\/04\/18\/day-in-brief\/","url_meta":{"origin":14826,"position":4},"title":"Day in brief","author":"Leonid Mamchenkov","date":"April 18, 2011","format":false,"excerpt":"MySQL Tuning Primer Script in Launchpad http:\/\/bit.ly\/eMa9he # GitHub: mamchenkov pushed to master at mamchenkov\/locker http:\/\/bit.ly\/hx6Uj8 # GitHub: mamchenkov created branch master at mamchenkov\/trading-central-technical-analysis http:\/\/bit.ly\/ier3kK # GitHub: mamchenkov created repository trading-central-technical-analysis http:\/\/bit.ly\/fcUdxW # GitHub: mamchenkov pushed to master at mamchenkov\/trading-central-technical-analysis http:\/\/bit.ly\/e3aXtx #","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":25943,"url":"https:\/\/mamchenkov.net\/wordpress\/2016\/03\/15\/useful-git-commands-and-github-integration\/","url_meta":{"origin":14826,"position":5},"title":"Useful git commands (and GitHub integration)","author":"Leonid Mamchenkov","date":"March 15, 2016","format":false,"excerpt":"Garrett Holmstrom's blog \/dev\/zero has a nice collection of useful git commands, especially for those people who work a lot with GitHub. \u00a0Here are a few links to get you started: URL Rewriting Shortcut for GitHub Pull Requests Reverting a range of git commits separately Very handy stuff!","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/14826","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=14826"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/14826\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=14826"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=14826"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=14826"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=14826"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}