r/github • u/lee337reilly • Sep 17 '20
Take GitHub to the command line with GitHub CLI 1.0 😍
3
1
4
2
u/StuartPBentley Sep 18 '20
Uh... hub?
6
u/StuartPBentley Sep 18 '20
hubis a project whose maintainer also happens to be a GitHub employee. He chooses to maintainhubin 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
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
0
Sep 17 '20
[deleted]
9
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
cloneandmerge. You'll still needgitfor commiting, at the very least.EDIT: on closer inspection the
mergecommand I saw was specific to pull request merging, so yeah you'll still needgit mergeas well.
2
u/lee337reilly Sep 17 '20
Details: https://github.blog/2020-09-17-github-cli-1-0-is-now-available/