#github #githubCLI #gh
GitHub has announced the beta of the command-line interface, called the GitHub CLI or 'gh' in the command line, which allows developers to type and execute code from the terminal rather than using a graphical integrated development environment (IDE) application.
The GitHub CLI beta is available today for macOS, Windows, and Linux - @
GitHub notes that the CLI is in "early development" but that it brings pull requests, issues, and more GitHub concepts to the terminal.
The current commands include pull requests for status, list, view, check out, and create. The issue commands include status, list, view, and create.
For many years, the hub was the unofficial GitHub CLI tool. While both hub and gh brings GitHub to the terminal, hub behaves as a proxy to git and gh is a standalone tool.
Installation - let me install on windows. The gh can be installed in windows through the scoop package
If not installed already install the scoop package.Execute the commands from Windows PowerShell
iex (new-object net.webclient).downloadstring('@')
scoop bucket add github-gh @op-gh.git
scoop install gh
scoop update gh
The first time you need to authorize the requests - this opens the GitHub UI for authorization, you should be switched to required branch other than master to create the PR
git checkout test-branch (create some change)
git pull origin test-branch
gh pr create pr1
gh pr status
the same way the issues can be managed. While in beta, GitHub CLI is available for the repositories hosted on GitHub.com only. It does not currently support repositories hosted on GitHub Enterprise Server or other hosting providers. Thanks all for watching the video, see you in the next video.
En esta página del sitio puede ver el video en línea gh - The GitHub CLI tool de Duración hora minuto segunda en buena calidad , que subió el usuario Tech Forum 16 febrero 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 2,977 veces y le gustó 11 a los espectadores. Disfruta viendo!