![]() ![]() To list out all of our open bugs, we could filter by the “bug” label defined in our GitHub repo gh issue list -label "bug" We could start looking for new tasks by listing out issuses filtered by different labels. That’s great! Our issue has been closed, so now we’re ready to find our next task. This will give us a list of issues that are assigned to us, mentioning us, or that were opened by us.Īfter checking in on these issues, we still can’t find the issue we’re looking for, so we might want to check whether it was closed or not. ![]() Maybe we don’t remember their exact numbers, but since we created them, we can use the status command to list them at the terminal gh issue status Next, we want to check in on the status of a couple of the issues we created yesterday. Or, you can use the short form gh issue list -a "n8ebel" Check Issue Status With GitHub CLI Now, maybe we’ve realized that is too many issues to sort through, so we decide we only want to list out your currently assigned issues. If we want to list out ALL of the issues we could use the “state” flag gh issue list -state "all" Let’s imagine we are just sitting down at our computer for the day, and we want to list out the open GitHub Issues for our project. Let’s walk through what a typical work day might look like and highlight some examples of using GitHub CLI to work with issues on GitHub. If working with GitHub Issues is a regular part of your development flows then GitHub CLI likely has several helpful commands for you. GitHub CLI is available across MacOS, Windows, and various Linux distros, so you shouldn’t have a problem getting the tool up and running on your machine. ![]() You can also follow along with the tutorial on my YouTube channel. To install GitHub CLI on your development machine, check out the installation guide found on GitHub. With GitHub CLI, developers can perform the following commands in relation to this different artifacts:Īs mentioned previously, in this post, we’re only going to focus on commands related to issues and pull requests. GitHub CLI is best described as “GitHub from the command line.”Ĭurrently, GitHub CLI is at version v0.6.3 and consists of a focused set of functionality around three GitHub artifacts: If you’re already familiar with it, jump ahead to the next section. So we’re all on the same page, we’ll start with a short overview of GitHub CLI. Dive deeper into GitHub CLI in this YouTube walkthrough What Is GitHub CLI? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |