Github
Repo Templates
Templates include those for ISSUE, PRS, etc. They're placed in the .github directory.
CLI
Summary of commands...
gh pr [status, list, view, checkout, create]
gh issue [status, list, view, create]
gh repo [view, create, clone, fork]
gh config [get, set]
gh help
Repo
Display a repos README...
gh repo view cli/cli
Open the repo in the default browser...
gh repo view cli/cli -w
Gist
Create a gist of a given file...
gh gist create README.md
Issues
Work with GH issues...
gh issue status
gh issue list
gh issue list
Filtering within the Github issue UI...
is:pr is:closed merged:>=YYYY-MM-DD base:develop sort:author-date
is:pr is:closed merged:>=2022-08-04 base:develop sort:author-date
gh pr list --search "is:closed merged:>=2022-08-04 base:develop sort:author-date"
PRs
A neat shortcut to checking out the branch associated with a given PR is as follows...
gh pr checkout 899
Superlinter
https://github.com/github/super-linter
Codespaces
"Get the full Visual Studio Code experience without leaving GitHub."
https://github.com/features/codespaces
Container Registry
https://github.blog/2020-09-01-introducing-github-container-registry/
Actions
"GitHub Actions makes it easy to automate all your software workflows, now with world-class CI/CD"
Action Examples
- README updates based on activity
- awesome-actions - A curated list of awesome things related to GitHub Actions
Actions / Run command
gh run view 4307886022 --log-failed
gh run view 4307886022 -w
Probot
"GitHub Apps to automate and improve your workflow. Use pre-built apps to extend GitHub, and easily build and share your own."
- https://probot.github.io/
Lab
Sponsors
- Connect with the community that depends on your work. Receive recurring funds to build our shared digital infrastructure.
- Stars / Forks / Clones
Copilot
"Your AI pair programmer"
- VSCode extension
- Note the "Open Github Copilot" command palette entry which display up to 10 suggestions
Code Search
"With GitHub code search, your codeโand the worldโsโis at your fingertips."
- https://cs.github.com/