TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

gh – GitHub's new CLI

32 pointsby flipchartabout 5 years ago

4 comments

carlosdpabout 5 years ago
How is this different from `hub`? <a href="https:&#x2F;&#x2F;github.com&#x2F;github&#x2F;hub" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;github&#x2F;hub</a><p>It seems to do pretty much the same things, except it works a little more separate from git itself whereas hub is designed to shim on top of git.<p>edit: nvm answered my own question <a href="https:&#x2F;&#x2F;github.com&#x2F;cli&#x2F;cli&#x2F;blob&#x2F;master&#x2F;docs&#x2F;gh-vs-hub.md" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;cli&#x2F;cli&#x2F;blob&#x2F;master&#x2F;docs&#x2F;gh-vs-hub.md</a> . I don&#x27;t know, I&#x27;m not convinced spinning out a new CLI was the right move. hub is actually really nice.
评论 #22865683 未加载
cbarrickabout 5 years ago
I hope this doesn&#x27;t mean hub is going away.<p>For those that don&#x27;t know, hub is a command that extends git with GitHub specific features. It has most of the features of gh AFAICT.<p>Unlike gh, hub a drop-in replacement for git, so you&#x27;re expected to `alias git=hub`.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;github&#x2F;hub" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;github&#x2F;hub</a><p>Edit: <a href="https:&#x2F;&#x2F;github.com&#x2F;cli&#x2F;cli&#x2F;blob&#x2F;master&#x2F;docs&#x2F;gh-vs-hub.md" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;cli&#x2F;cli&#x2F;blob&#x2F;master&#x2F;docs&#x2F;gh-vs-hub.md</a>
评论 #22865747 未加载
kl4mabout 5 years ago
Interestingly, on gitlab.com, you can trigger some options (create Merge Request, skip the CI pipeline for your push or set CI variables) straight through <i>git push --push-option</i><p><a href="https:&#x2F;&#x2F;docs.gitlab.com&#x2F;ee&#x2F;user&#x2F;project&#x2F;push_options.html" rel="nofollow">https:&#x2F;&#x2F;docs.gitlab.com&#x2F;ee&#x2F;user&#x2F;project&#x2F;push_options.html</a>
评论 #22868638 未加载
ykevinatorabout 5 years ago
Is this a solution looking for a problem?
评论 #22865040 未加载
评论 #22865128 未加载