Practice Git
Set up a new repository and practice committing
- make a new folder
- navigate into the folder
- initialize a git repository
- make a new document
- commit the new document
- Add a new document, and/or create a change to the existing document
- Make a new commit
Undo changes
- make a change. Don't add or commit it yet, but reset to the previous commit
- check to verify the change is gone
- make another change, and commit it this time.
- reset the project back to the next most recent commit
- verify the state of your project (in other words, the file and/or directories you changed) is back to the earlier commit.
Need Help?
See resources, or go back to Moodle to post to the forum, email us, or visit office hours. Or, of course, google it.That was too easy. I want to do more
Create a .gitignore file that ignores images (or a directory of your choice). Test that it's working by adding an image (or something to an ignored directory) and then running git status. If it works, git should not notice a change.