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 thegh repo clone owner/repocommand. To find the next item you need to work on, use the commands: “gh issue status” or “gh issue listassignee [yourname].” When you’re finished adding a feature or fixing a bug, create your pull request using thegh pr createcommand.

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

After the pull request is approved, you can make sure your tests pass with thegh pr checkscommand. You can then merge it directly from the terminal with thegh pr mergecommand. 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 thegh 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 thegh alias setcommand. And you can access the GitHub API directly with thegh apicommand. As one example, you can share your aliases with a GitHub gist with the commandgh 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 booksone 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

Building on its expertise in the areas of digital, technologies and processes , CSS Engineering you in your most ambitious transformation projects and helps you bring out new ideas, new offers, new modes of collaboration, new ways of producing and selling.

CSS Engineering is involved in projects each customer as if it were his own. We believe a consulting company should be more than an advisor. We put ourselves in the place of our customers, to align we incentives to their goals, and collaborate to unlock the full potential their business. This establishes deep relationships and enjoyable.

Our services:

  1. Create professional websites
  2. Hosting high performance and unlimited
  3. Sale and video surveillance cameras installation
  4. Sale and Installation of security system and alarm
  5. E-Marketing

All our achievements here https://www.css-engineering.com/en/works/

LEAVE A REPLY

Please enter your comment!
Please enter your name here