This lesson covers the basics of using git for version control
New commit 7/25 MSF (MolSSI Software Fellow)
To make a commit of your files:
- Make changes to your project that you would like to keep
- Add files you want to be in the commit to the staging area using "git add FILENAME"
- Create a checkpoint (or commit) using the 'git commit' command: git commit -m "commit message"
Features should be developed on branches. To create and switch to a branch, us the command
'git switch -c new_branch_name'
To switch to an existing branch, use
'git switch branch_name'