Now out of beta and available for everyone, GitHub CLI 1.0 brings GitHub to the terminal where developers can manage their own workflows.

GitHub users can now officially tap into a new command line interface with the release of GitHub CLI 1.0. Previously available in beta mode since February 2020, GitHub CLI lets developers work and stay within a terminal session to script and create their workflows without having to switch from one process to another.

Since the release of the beta, developers used GitHub CLI to create more than 250,000 pull requests, perform more than 350,000 merges, and create more than 20,000 issues, according to GitHub. Now out of beta, CLI 1.0 is available to download for Windows, macOS, and Linux.

To clone the repository with which you want to work, use the “gh repo clone owner/repo” command. To find the next item you need to work on, use the commands: “gh issue status” or “gh issue list–assignee [yourname].” When you’re finished adding a feature or fixing a bug, create your pull request using the “gh pr create” command.

A teammate can check your pull request using the “gh pr checkout [request number]” command, view the differences with the “gh pr diff,” command, and review the change via the “gh pr review” command.

After the pull request is approved, you can make sure your tests pass with the “gh pr checks” command. You can then merge it directly from the terminal with the “gh pr merge” command. In this case, GitHub CLI can even delete your branch locally and on GitHub.com following the merge.

Then when it’s time for your next release, use the “gh release create [tag name]” from the command line to make your creation accessible to everyone.

You can create aliases for any command in GitHub CLI with the “gh alias set” command. And you can access the GitHub API directly with the “gh api” command. As one example, you can share your aliases with a GitHub gist with the command “gh alias list | gh gist create.”

As a result of the GitHub CLI beta, GitHub said that more than 80 community contributors submitted requests, including the following: 1) Adding metadata to issue and pull request views, 2) Allowing the selection of blank templates, 3) Filtering issues by milestone, mentioned, and author, and 4) Aligning repo create to other create commands.

Based on the feedback received during the beta phase, GitHub added several features to CLI along the way, such as 1) creating and viewing repositories, 2) configuring GitHub CLI to use SSH and your preferred editor, 3) closing, reopening, and adding labels, assignees, and more to issues and pull requests, and 4) viewing the diff, review, and merge pull requests.

GitHub said that it has more features planned for upcoming versions of GitHub CLI, including support for editing issues and pull requests and the ability to add comments. To get started with GitHub CLI, consult the online manual for the full list of commands and watch the YouTube video demo posted by GitHub.

From the hottest programming languages to the jobs with the highest salaries, get the developer news and tips you need to know.
Weekly

Lance Whitney is a freelance technology writer and trainer and a former IT professional. He’s written for Time, CNET, PCMag, and several other publications. He’s the author of two tech books–one on Windows and another on LinkedIn.

Troubleshooting Linux: An admin’s guide

Hiring Kit: Data Engineer

10 commands Linux admins need to know

Intrusion detection policy

Source: https://www.techrepublic.com/article/github-officially-releases-github-cli-1-0/

Command-line interface, GitHub

World news – GB – GitHub officially releases GitHub CLI 1.0

En s’appuyant sur ses expertises dans les domaines du digital, des technologies et des process , CSS Engineering vous accompagne dans vos chantiers de transformation les plus ambitieux et vous aide à faire émerger de nouvelles idées, de nouvelles offres, de nouveaux modes de collaboration, de nouvelles manières de produire et de vendre.

CSS Engineering s’implique dans les projets de chaque client comme si c’était les siens. Nous croyons qu’une société de conseil devrait être plus que d’un conseiller. Nous nous mettons à la place de nos clients, pour aligner nos incitations à leurs objectifs, et collaborer pour débloquer le plein potentiel de leur entreprise. Cela établit des relations profondes et agréables.

Nos services:

  1. Création des sites web professionnels
  2. Hébergement web haute performance et illimité
  3. Vente et installation des caméras de vidéo surveillance
  4. Vente et installation des système de sécurité et d’alarme
  5. E-Marketing

Toutes nos réalisations ici https://www.css-engineering.com/en/works/

LEAVE A REPLY

Please enter your comment!
Please enter your name here