Skip to content

Making Commits

  • Commits are a grouping of changes that you make, which are stored on ur computer
  • When you make a commit, make sure to write a descriptive commit message. This helps others (and your future self) understand what changes were made and why.

Git syncing

  • Git syncing is the process of pushing your local commits to a remote repository (like GitHub) and pulling changes from the remote repository to your local machine.
  • Pushing and pulling code allows you to upload and download changes

Branches

  • Branches are a way to work on different versions of a project simultaneously. We use branches to keep separate contained versions of the main head-2-head match code and the skills code.
  • To switch: click the branch name in the top left of the GitHub Desktop app and select the branch you want to switch to. image

ALWAYS choose leave changes on old branch image

Upon returning to the old branch, you can restore the "stash" of old changes image