问HN:我们为什么错误地使用Git?

1作者: modinfo大约 1 个月前原帖
Git 具有更大的潜力,甚至“origin”这个词现在也算是“Git 术语”的标准,我们可以用更好的方式来命名。 简单的例子: `git push github dev` 或 `git push aur master` 通过一个仓库,我将不同分支的代码推送到两个服务器。 此外,GitHub 上的仓库默认应该有: `git push github main` 或 `git push gh main` `git push <origin> main`
查看原文
Git have more potential, even word `origin` is now kinda &quot;git word&quot; standard, even we can use naming in better way. Simple example:<p>git push github dev OR git push aur master<p>with a single repo i pushed to two servers with different branches.<p>also repo on github should have by default<p>`git push github main` OR `git push gh main`<p>git push &lt;origin&gt; main