Skip to content

yonush/AgileProjects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Demonstration Git repository for ITPM5.240 Agile Projects

1. Create GitHub repo with gh

  1. Download and install gh from https://cli.github.com/
  2. Enter gh repo create and follow the instructions.
  3. Check the authentication status gh auth status
  4. Login using gh auth login. If you encounter authentication issues then follow the steps on authentication below before attempting to upload a repository.

1.1 Using the web interface

browse to https://github.com and create it using the web interface New repo repo

Empty repo repo

Repo preloaded with readme and licence repo

2. Empty Repo with no files

Instructions if the repository was empty:

echo "# AgileProjects" >> README.md
git init
git add README.md
git commit -m "first commit"

git branch -M main
git remote add origin https://github.com/yonush/AgileProjects.git
git push -u origin main

Refer to the Tokens below for authentication.

2. Existing local repo with files

Instructions for an existing local repository:

git remote add origin https://github.com/yonush/AgileProjects.git
git branch -M main
git push -u origin main

Authentication

Authenticating with a token:

git remote set-url origin https://yonush:<MYTOKEN>@github.com/yonush/AgileProjects.git

Authentication with gh:

  1. Download and install gh from https://cli.github.com/
  2. With the web gh auth login --web
  3. git config --global credential.helper "!gh auth git-credential" (my default helper !"C:/go/git/mingw64/bin/git-credential-manager.exe")
  4. With a token echo your_token | gh auth login --with-token

Personal Access Token (Manual) git config credential.helper store git push origin main Enter username and token when prompted

gh auth status gh auth logout

Generate a Personal Access Token manually

  1. Log in to GitHub:

    Go to GitHub and sign in to your account.

  2. Access Token Settings:

    Click on your profile picture in the upper-right corner and select Settings. In the left sidebar, click Developer settings. In the left sidebar again, click Personal Access Tokens then Tokens (Classic).

  3. Generate New Token:

    Click on Generate new token (classic). Give your token a descriptive name (e.g., "Git push access"). Select the scopes or permissions you need. For pushing to repositories, you will need repo (full control of private repositories).

  4. Generate and Copy Token:

    Click Generate token. Copy the token to your clipboard. NOTE: You won't be able to see this token again, so store it securely.

Resources

About

Demonstration repo for ITPM5.240 Agile Projects 2026

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors