Ask HN: When did GitHub replace standard Git commands with the “GitHub CLI?”


W3Schools
Ask HN: When did GitHub replace standard Git commands with the “GitHub CLI?”
by strix_varius on Hacker News.
Today I went to check out a colleague’s branch, and noticed the convenient, standard, copy-pasteable `git` command has been replaced with `gh pr checkout 1234`. Underneath, there’s some subtle advertising: “Work fast with our official CLI. _Learn more._” This is of course useless to me, and to any other developer who prefers to use standard tooling rather than proprietary lock-in stuff. I don’t begrudge Microsoft shipping a GH CLI as an optional thing, but shifting default workflows away from the standard client is one of those changes that doesn’t serve users, but rather serves some PM’s KPIs.


W3Schools

Leave a comment