-
I am new to gh. I can not find such commands as
I do not find it at: https://cli.github.com/manual/gh_repo If not, what are the advantages of using gh? (I use traditionally Git commands seem to be enough?) Thanks for your explain! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
There are no gh commands to commit nor push.
GitHub CLI is a tool to interface with GitHub-specific features. GitHub is built around the concepts of Git repositories and adds extra features on top:
Git CLI can already create local git repositories, commit, add remotes, push, etc. There doesn't need to be an additional CLI to do the same. However, Git CLI cannot create a GitHub repository, or list its issues, or view results of an Action run. That's where GitHub CLI comes in. These tools complement each other and not replace each other. In summary:
|
Beta Was this translation helpful? Give feedback.
-
Well, there appears to be quite a huge overlap with Git in the So, for an intuitive interface, |
Beta Was this translation helpful? Give feedback.
-
should this be logged as an issue? |
Beta Was this translation helpful? Give feedback.
There are no gh commands to commit nor push.
GitHub CLI is a tool to interface with GitHub-specific features. GitHub is built around the concepts of Git repositories and adds extra features on top:
Git CLI can already create local git repositories, commit, add remotes, push, etc. There doesn't need to be an additional CLI to do the same. However, Git CLI cannot create a GitHub repository, or list its issues, or view results of an Actio…