Presentation and Demo
Overview
Teaching: 20 min
Exercises: 0 minQuestions
Demystifying Git
Objectives
Live coding will cover: - git status - emacs myfile.txt - git status - git add myfile.txt - git status - git commit - emacs myfile.txt - git status - git diff HEAD myfile.txt (explain) - git commit - git add - git commit - git log - git diff (between commits) - emacs myfile.txt - git add myfile.txt - git checkout – myfile.txt (HEAD can be any commit) - git status
Key Points