r/github • • Sep 17 '20

Take GitHub to the command line with GitHub CLI 1.0 😍

266 Upvotes

16 comments sorted by

3

u/beyond_Universe Sep 18 '20

Isn't this just fancy git? lol

12

u/8bitslime Sep 18 '20

Git doesn't have issues or PRs, this is all GitHub functionality.

1

u/MGatner Sep 17 '20

Link?

3

u/lee337reilly Sep 17 '20

1

u/MGatner Sep 18 '20

Thanks! I didn’t realize this was a GitHub official thing - exciting!

4

u/Bitflight Sep 17 '20

Hurrah for git cli

2

u/StuartPBentley Sep 18 '20

Uh... hub?

6

u/StuartPBentley Sep 18 '20

Ah

hub is a project whose maintainer also happens to be a GitHub employee. He chooses to maintain hub in his spare time, as many of our employees do with open source projects.

Sounds like mislav wasn't interested in playing project manager.

1

u/benji0110 Sep 18 '20

I like it, but i still haven't found a way to comment on a certain line in a file through the CLI. I checked the manual and it seems you can just leave a comment on the PR but not the files. Am i doing this right?

1

u/[deleted] Sep 18 '20

1

u/lbarqueira Sep 18 '20

I'm going to try it for sure.

1

u/LordPiki Feb 22 '24

Bit late, but does this look like your real terminal or just video editing. If it does, how did you do it?

0

u/[deleted] Sep 17 '20

[deleted]

32

u/lee337reilly Sep 17 '20

SF Mono Regular.

Source: It's my terminal 😀

0

u/[deleted] Sep 17 '20

[deleted]

9

u/[deleted] Sep 17 '20

Probably not. It's only doing operations for repository management. Such as merging, pull requests, and issue tracking. There isn't direct ways to version control a local repository with the gh cli tool as far as I know. It's essentially just for accessing the remote stuff on GitHub.

1

u/captainvoid05 Sep 21 '20

Nah looks like the only git functionality this duplicates is clone and merge. You'll still need git for commiting, at the very least.

EDIT: on closer inspection the merge command I saw was specific to pull request merging, so yeah you'll still need git merge as well.