-
Go to GitPod Integrations page:
- Authenticate with GitHub and allow for workflows and public repositories to be accessed by GitPod.
- (Optional) You can also allow for private repositories to be accessed by GitPod if you want today's session to be private.
For picture assistance go to section: Extras
-
Authenticate into your personal account with GitHub CLI that is already installed
gh auth login
. For every choice selection you can just press enter, or if you would like to read closely:- GitHub.com
- HTTPS
- Yes
- Login with a web browser
You will likely need your phone if you have double authentication required.
-
We will create a new repository with the following command:
gh repo create github-cicd-workshop --public
- You can replace
github-cicd-workshop
with any name you want for your repository. This will be defined as in the next step. - You can also change
--public
to--private
if you want to make it private.
- You can replace
-
The repo that was created is currently empty. We will push this git repo to be the master branch with the following commands:
git remote add origin https://github.com/<YOUR-GITHUB-USERNAME-HERE>/<SELECTED-REPO-NAME>.git git push --set-upstream origin master
GitPod picture: