TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Npx No-Masters

2 点作者 good-idea将近 5 年前
`npx no-masters`<p>https:&#x2F;&#x2F;github.com&#x2F;good-idea&#x2F;no-masters<p>I spent my 4th of July putting together a one-line command that changes your default branch from `master` to `main`, and optionally:<p>- Deletes the local master branch - Updates the origin&#x27;s default branch to main - Deletes the origin&#x27;s master branch - Updates your local git config to use main as the default branch when using git init<p>I know there is a lot of debate this topic. I&#x27;m obviously for making the change, and wanted to make it easy for others. I won&#x27;t be in the comments to debate things. If you have any (constructive) feedback, open an issue in the Github tracker, or DM me on twitter @typeof_goodidea<p>https:&#x2F;&#x2F;twitter.com&#x2F;typeof_goodidea

暂无评论

暂无评论