Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 703 Bytes

File metadata and controls

21 lines (13 loc) · 703 Bytes

Git Lesson

This lesson covers the basics of git for version control.

This lesson is for the first day of the MSSE bootcamp (Chem 280).

To ake a commit ("Version" or "Checkpoint") of your files, follow this procedure:

  1. Make changes to your project that you'd like to keep.
  2. When you have your changes, tell git your are ready to create a checkpoint of file using the git add FILENAME command.
  3. Create a checkpoint of your file using git commit -m "message about what you did".

Adding Features

Features should be developed on branches. To create and switch to a branch, use the command

git switch -c NEW_BRANCH_NAME

To switch to an existing branch, use

git switch BRANCH_NAME