)]}'
{
  "commit": "9db5ebf4022d8e11ac20e75a3d43af161b752fcd",
  "tree": "e1edfca2c85bb339eb7c0234cd85fea9f7ebe141",
  "parents": [
    "f1ba1c90e1704e937ff59ee510a8d46a5ab52a1a"
  ],
  "author": {
    "name": "Erick Mattos",
    "email": "erick.mattos@gmail.com",
    "time": "Sun Mar 21 12:34:38 2010 -0300"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Sun Mar 21 16:43:30 2010 -0700"
  },
  "message": "git checkout: create unparented branch by --orphan\n\nSimilar to -b, --orphan creates a new branch, but it starts without any\ncommit.  After running \"git checkout --orphan newbranch\", you are on a\nnew branch \"newbranch\", and the first commit you create from this state\nwill start a new history without any ancestry.\n\n\"git checkout --orphan\" keeps the index and the working tree files\nintact in order to make it convenient for creating a new history whose\ntrees resemble the ones from the original branch.\n\nWhen creating a branch whose trees have no resemblance to the ones from\nthe original branch, it may be easier to start work on the new branch by\nuntracking and removing all working tree files that came from the\noriginal branch, by running a \u0027git rm -rf .\u0027 immediately after running\n\"checkout --orphan\".\n\nSigned-off-by: Erick Mattos \u003cerick.mattos@gmail.com\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "37c1810e3fc8424868333a22094107e99764fc37",
      "old_mode": 33188,
      "old_path": "Documentation/git-checkout.txt",
      "new_id": "4505eb6d84990944009d0b5e560de4bd4d2022e8",
      "new_mode": 33188,
      "new_path": "Documentation/git-checkout.txt"
    },
    {
      "type": "modify",
      "old_id": "acefaaf41a4e26e45225f6d228734c93c8f2b23c",
      "old_mode": 33188,
      "old_path": "builtin/checkout.c",
      "new_id": "347927788b53031f0ada6bc3394940255637ad2c",
      "new_mode": 33188,
      "new_path": "builtin/checkout.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "a8297c61bd7402423eec6af1ba92f46cd13dd1bd",
      "new_mode": 33261,
      "new_path": "t/t2017-checkout-orphan.sh"
    }
  ]
}
