Skip to content

0 Codespaces

Rob Campbell edited this page Jul 19, 2024 · 1 revision

A quick tutorial on GitHub Codespaces:

1. Create a new Codespace

Click the green "Code" button and then "Create codespace on main"

create-codespace

2. Pull Changes

Click the 3 dots and select "Pull" from the drop-down menu to make sure you have all the latest changes

pull

3. Add Images

You can upload a headshot to the images/headshots folder

images-folder

4. Add/change text

Create a new bio (or make changes) in the members folder

members-folder

5. Stage Your Changes

When you have made your changes, you can review them from the branching path icon in the sidebar
Click the "+" symbol to Stage your changes (or the "-" to remove unstage changes)

stage-changes

6. Commit Your Changes

Add a commit message and hit the blue "Commit" button

commit

7. Undoing Commits

If you need to undo a commit, you can do that from the drop down menu

undo-commit

8. Push/Synch Changes

When you are done, hit "Synch Changes" to "push" your changes
(You will be warned that the action will Push and Pull changes. Click ok. If you get any errors, you may need to unstage your commit and pull other changes before you can add yours)

push

9. Your done!

You can close the tab. You can go back to your list of codespaces and exit and delete this one, but the codespace will also exit itself later, and delete itself after a few days.
To check the status of your changes, view the "Actions" tab on the repo main page. If the dot is green, then the changes have been added without issue!

actions-tab