Title: [Doc]: gitwash deleting main branch · Issue #25857 · matplotlib/matplotlib · GitHub
Open Graph Title: [Doc]: gitwash deleting main branch · Issue #25857 · matplotlib/matplotlib
X Title: [Doc]: gitwash deleting main branch · Issue #25857 · matplotlib/matplotlib
Description: Documentation Link https://matplotlib.org/devdocs/devel/development_workflow.html#workflow-summary Problem Our dev guide has advice to consider deleting your main branch, with a link to this pretty old page. I see two problems with the l...
Open Graph Description: Documentation Link https://matplotlib.org/devdocs/devel/development_workflow.html#workflow-summary Problem Our dev guide has advice to consider deleting your main branch, with a link to this pretty...
X Description: Documentation Link https://matplotlib.org/devdocs/devel/development_workflow.html#workflow-summary Problem Our dev guide has advice to consider deleting your main branch, with a link to this pretty...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/25857
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Doc]: gitwash deleting main branch","articleBody":"### Documentation Link\n\nhttps://matplotlib.org/devdocs/devel/development_workflow.html#workflow-summary\n\n### Problem\n\nOur dev guide has advice to consider deleting your `main` branch, with a link to [this pretty old page](https://matthew-brett.github.io/pydagogue/gh_delete_master.html). I see two problems with the linked advice\r\n\r\n* It describes `master` instead of `main`, and it may not be obvious for someone who is new to open source that that is just an old name for the same thing. Also there were good EDI reasons why `master` was dropped.\r\n\r\n* the instructions for deleting the branch and setting up `placeholder` as your new default branch are fairly involved. These days you can just rename your branch within GitHub, which I think will have the same practical effect with less effort.\n\n### Suggested improvement\n\nI see two options\r\n\r\n1. just remove the advice about deleting the `main` branch (but retain the advice to not develop with it).\r\n\r\n2. remove the advice about deleting the branch, but add some advice to rename it instead. I think this would fit better in the [setting up](https://matplotlib.org/devdocs/devel/development_setup.html) instructions as you’d want to do it before you clone.\r\n\r\nI have a slight preference for 2, but I think that’s just because my default branch is `placeholder`, having followed gitwash in the past. I’m not sure I have a strong argument that it’s better to rename than to leave it as `main`.","author":{"url":"https://github.com/rcomer","@type":"Person","name":"rcomer"},"datePublished":"2023-05-11T07:45:07.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":16},"url":"https://github.com/25857/matplotlib/issues/25857"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d60c5d76-b991-564f-39cf-151e06b0234e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 960E:228F1C:E19C10:130D861:6A532B6D |
| html-safe-nonce | 450e5afe7c6daeb810772a008a923ed85b6b9405abffbeb85ec86838b7b64f7d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NjBFOjIyOEYxQzpFMTlDMTA6MTMwRDg2MTo2QTUzMkI2RCIsInZpc2l0b3JfaWQiOiI2MTkwOTU4NzQ5MjE5NDk4ODYxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a17b055e5ebfdbb357a26687cef6dea75c26c8fc7e791fff490be159400e8fc6 |
| hovercard-subject-tag | issue:1705255559 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/25857/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1488a8d6bef296b54421b900a6e907bf937580bd720dd0de2a8464459a33b24a/matplotlib/matplotlib/issues/25857 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1488a8d6bef296b54421b900a6e907bf937580bd720dd0de2a8464459a33b24a/matplotlib/matplotlib/issues/25857 |
| og:image:alt | Documentation Link https://matplotlib.org/devdocs/devel/development_workflow.html#workflow-summary Problem Our dev guide has advice to consider deleting your main branch, with a link to this pretty... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rcomer |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width