GitHub Setup

Professional Development

Ben Baumer

Smith College

2025-01-29

Verify your GitHub token

  • First,
gitcreds::gitcreds_get()
<gitcreds>
  protocol: NA
  host    : NA
  username: NA
  password: <-- hidden -->
  • If necessary…
gitcreds::gitcreds_set()

Set up remotes

  • First, in a Terminal, try
git remote -v
  • If necessary, add the upstream remote:
# replace 'repo' with your repo name!
git remote add upstream https://github.com/sds-capstone/repo.git
  • Always verify that you the remotes configured properly!
git remote -v

GitHub workflow

Your task

  • Each person should send a pull request from a branch in their fork to the shared repo
  • The PR should:
    • add that person’s name and GitHub username to “Team members” section of README.md
    • close the corresponding GitHub Issue
    • be merged by the Product Owner for Sprint 1
    • DO NOT merge your own pull request!
  • Continue working together until everyone is done!