{"html_url": "https://github.com/simonw/datasette/issues/849#issuecomment-644322234", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/849", "id": 644322234, "node_id": "MDEyOklzc3VlQ29tbWVudDY0NDMyMjIzNA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-06-15T19:06:16Z", "updated_at": "2020-06-15T19:06:16Z", "author_association": "OWNER", "body": "I'll make this change on a few of my other repos first to make sure I haven't missed any tricky edge-cases.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 639072811, "label": "Rename master branch to main"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/849#issuecomment-644384417", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/849", "id": 644384417, "node_id": "MDEyOklzc3VlQ29tbWVudDY0NDM4NDQxNw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-06-15T20:55:23Z", "updated_at": "2020-06-15T20:55:23Z", "author_association": "OWNER", "body": "I'm doing https://github.com/simonw/datasette-psutil first.\r\n\r\nIn my local checkout:\r\n```\r\ngit branch -m master main\r\ngit push -u origin main\r\n```\r\n(Thanks, https://www.hanselman.com/blog/EasilyRenameYourGitDefaultBranchFromMasterToMain.aspx)\r\n\r\nThen in https://github.com/simonw/datasette-psutil/settings/branches I changed the default branch to `main`.\r\n\r\n\"Branches\"\r\n\r\nLinks to these docs: https://help.github.com/en/github/administering-a-repository/setting-the-default-branch\r\n\r\nThat worked! https://github.com/simonw/datasette-psutil\r\n\r\nOne catch, which I think will impact my most widely used repos the most (like datasette) - linking to a specific file now looks like this:\r\n\r\nhttps://github.com/simonw/datasette-psutil/blob/main/datasette_psutil/__init__.py\r\n\r\nThe old https://github.com/simonw/datasette-psutil/blob/master/datasette_psutil/__init__.py link is presumably frozen in time?\r\n\r\nI've definitely got links spread around the web to my \"most recent version of this code\" that would use the `master` reference, which would need to be updated to `main` instead. Most of those are probably in the Datasette docs and on my blog though.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 639072811, "label": "Rename master branch to main"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/849#issuecomment-644384787", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/849", "id": 644384787, "node_id": "MDEyOklzc3VlQ29tbWVudDY0NDM4NDc4Nw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-06-15T20:56:07Z", "updated_at": "2020-06-15T20:56:19Z", "author_association": "OWNER", "body": "The big question is how this impacts existing CI configuration. `datasette-psutil` is configured to use Circle CI, what happens if I push a new commit?", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 639072811, "label": "Rename master branch to main"}, "performed_via_github_app": null}