{
  "version": "https://jsonfeed.org/version/1.1",
  "title": "chem-bla-ics",
  "description": "Chemblaics (pronounced chem-bla-ics) is the science that uses open science and computers to solve problems in chemistry, biochemistry and related fields.",
  "home_page_url": "https://chem-bla-ics.linkedchemistry.info/",
  "feed_url": "https://chem-bla-ics.linkedchemistry.info/2011/06/27/git-reflog-so-what-did-just-happen.json",
  "icon": "https://chem-bla-ics.linkedchemistry.info/assets/images/chem-bla-ics_logo.png",
  "language": "en",
  "authors": [
    {
      "name": "Egon Willighagen",
      "url": "https://orcid.org/0000-0001-7542-0286",
      "_orcid": "0000-0001-7542-0286"
    }
  ],
  "items": [

    {
      "id": "https://doi.org/10.59350/xfsbb-qnr25",
      "url": "https://chem-bla-ics.linkedchemistry.info/2011/06/27/git-reflog-so-what-did-just-happen.html",
      "title": "git reflog: so, what did just happen?!",
      "content_html": "<p>Chris Aniszczyk <a href=\"http://aniszczyk.org/2011/06/26/git-reflog-and-eclipse/\">made me aware</a>\nof <a href=\"http://www.kernel.org/pub/software/scm/git/docs/git-reflog.html\">git reflog</a>.\nI am not sure I grasp the full power yet, but I already like the fact that it\nshows me what I just did. For example, this is my latest output:</p>\n\n<pre>98e4cae HEAD@{0}: commit: Added copyright owner line for previous patch\n280381d HEAD@{1}: origin/cdk-1.4.x: updating HEAD\nbce19a0 HEAD@{2}: am: Fixed potential NPE.\n280381d HEAD@{3}: commit (amend): Fixed potential NPE.\n534dc09 HEAD@{4}: am: Fixed potential NPE.\n45b67e5 HEAD@{5}: origin/cdk-1.4.x: updating HEAD\n1fa4bb9 HEAD@{6}: commit: Fixed potential NPE.\ncf399c8 HEAD@{7}: commit: Fixed potential NPE.\n45b67e5 HEAD@{8}: HEAD~1: updating HEAD\n5f8ecf9 HEAD@{9}: am: Fixed potential NPE.</pre>\n\n<p>What I did on these steps was to apply part of a <a href=\"http://sourceforge.net/tracker/?func=detail&amp;aid=3158041&amp;group_id=20024&amp;atid=320024\">bug fix patch</a>\nby Dmitry (EPO, The Hague). In fact, the patch actually fixed two separate problems.\nOne part fixed a NullPointerException in code by me, and that code looks fine;\nthe other part is in code not written by me, and I cannot oversee the consequences\nof that patch. A unit test would help, and so would a review by the original\nauthor.</p>\n\n<p>So, the goal was to apply part of the patch. So, I downloaded Dmitry’s patch\nfrom GitHub (see, <a href=\"http://chem-bla-ics.blogspot.com/2011/01/github-tip-download-commits-as-patches.html\">GitHub Tip: download commits as patches</a>,\nand the hash in the bug report). Then I applied it to my local repositort (5f8ecf9,\nsee the above list). I undid the patch with ‘git reset HEAD~1’ (45b67e5) to\nmake the patch unstaged. The I committed the two patch parts separately (cf399c8\nand 1fa4bb9). I then rebased on origin/cdk-1.4.x to ensure my cdk-1.4.x branch\nis up to date (45b67e5, and 534dc09 I guess). Then I signed off the part of\nthe patch that I can review (280381d, and bce19a0?), and finally I updated from\nthe upstream repository once more (280381d) and then applied a patch to add\nDmitry in the Copyright header as co-author of this class (98e4cae, see also\n<a href=\"https://chem-bla-ics.linkedchemistry.info/2009/06/30/making-patches-attribution-copyright.html\">Making patches; Attribution; Copyright and License. <i class=\"fa-solid fa-recycle fa-xs\"></i></a>).</p>\n\n<p>Now, apparently, you can edit this log too… but I am not sure why you would\ngo about doing that, nor what effect that will have on the commit history…</p>",
      "summary": "Chris Aniszczyk made me aware of git reflog. I am not sure I grasp the full power yet, but I already like the fact that it shows me what I just did. For example, this is my latest output:",
      
      "date_published": "2011-06-27T00:00:00+00:00",
      "date_modified": "2026-12-05T00:00:00+00:00",
      "tags": ["cdk","git"],
      
      
      
      
      
      
        "authors": [ { "name": "Egon Willighagen", "url": "https://orcid.org/0000-0001-7542-0286" } ]
      
    }

  ]
}
