r/github • • May 07 '20

What do you all thinking about the Github CLI?

Post image
121 Upvotes

18 comments sorted by

19

u/TheOneThatIsHated May 07 '20

Wow I didn't know this existed. Why would you use that tho. I just use git on the command line. And the site github mostly for browsing projects and reading the readme. I don't see the point in for instance forking on the terminal as I can easily do a google search for a repo and fork it that way. Also I thought that there already was an api, so if something should've be done in code on github it was already possible?

5

u/F4NT0_R0B0T May 07 '20

It's a good new idea who is thriving each update, it will help on responding and creating Pull Request, Issues and a lot of stuffs directly in the Shell, ok you can go and see in the GUI web Github but it's a less effort if you can manage info directly when you are working? (in that case directly on my Shell)

11

u/thblckjkr May 07 '20

I feel like the idea of having it in my IDE (the last VSCode extension for github) is way better than the CLI, at least for me.

2

u/F4NT0_R0B0T May 07 '20

good one, I hope the new inside Text Editor works great! github is expanding a lot since MS bought.

1

u/bearassbobcat May 08 '20

forgive my ingnorance but I know PRs are a part of github but can regular git interact with them (I vaguely remember something similar in git)?

If not then for someone who is heavily into github (and needs to use github specific features) then I think it makes sense.

but maybe covering already existing functionality in git isn't such a great use. since from the screenshot the functionality is limited it might be better to focus on learning git.

1

u/F4NT0_R0B0T May 08 '20

In my 2 years of working with Git and Github i only know about a few programs to do that before, but about git itself i don't think so, if doesn't exist before internally is a great evolution for sysadmins who only work with CLI Systems.

2

u/TheOneThatIsHated May 07 '20

aha that would be useful yes. That makes sense. I could use that.

33

u/QbaPolak17 May 08 '20

I like using git on the CLI, but github stuff like pull requests and issues I feel like the visual in the browser is better personally, since I feel it makes interacting with other's easier. I also very much like github's web interface for everything, so I don't personally feel that it impacts the speed of my workflow in any way.

1

u/F4NT0_R0B0T May 08 '20

Yes yes i don't thinking about that before, i think the sky is the limit! it's good to have some CLI tool who made every important task as GUI to increase other projects or to use in Servers, dunno

4

u/heathsnow May 08 '20

I’ve been using it for awhile but I pretty much just use it for ‘gh pr status’.

4

u/[deleted] May 08 '20

This tool is primarily going to be useful for automation such as in CI/CD pipelines. Seems like a great idea for that. I don't think they are targeting a lot of manual use by their users like people are confused about in here.

3

u/tpiekarski May 08 '20

Nice, love it. I will never leave the command prompt again :D

2

u/kirbyfan64sos May 08 '20

I've found it most useful for forking (though the hub tool could already do that), adding quick updates to issues, checking on PRs.

1

u/wrtbwtrfasdf May 08 '20

it's pretty useless at the moment. Giving it Beta status is being pretty generous. if they could integrate github-actions into it I'd be sold though, as the the worst part about dealing with gh-actions is the awful webui.

1

u/AnonymousThugLife May 08 '20

I agree with much of what others have to say here. But one little problem this could create for new learners is, that differentiation among Git, GitHub and Git CLI. Won't be an issue for the long term though.

1

u/gangculture May 08 '20

i appreciate 1337

1

u/Simple_Paper_4526 Aug 31 '25

honestly love gh cli for quick PR stuff and repo management. beats clicking through the ui when all i want is to check issues or merge branches fast. i still use it alongside other dev tooling like qodo’s cli since it handles ai code review, but gh cli is solid for the basics.

1

u/[deleted] Oct 19 '23

gh repo view --web is a life saver