Learn how to format the commit log to show the information you care about.
- In this movie, … we're going to talk about how you can … format the commit log so that you can better use that data. … One of most useful things you can do … with the git log is to look at the actual changes … along with each commit, … and we can do that with git log and then -p. … P is for patch. … It's another way of saying it's the change set. … A patch is the same thing as a change set. … What is the patch that would change it … from one condition to another? … So the -p option will show us each and every one of these. … our commits in the commit log. … The first few of these don't have a lot to view in them, … so let's scroll down a bit. … Let's hit the space bar or the f key and go forward. … add gitignore file, right? … and I can see the actual changes. … The plus signs indicate what was added to the file. … If we go a little further down, … you can see that there's minus signs … whenever we take something away from the file. … So if we're changing something, … then we're both removing one thing …
- Finding and viewing commits
- Creating and switching branches
- Comparing branches
- Resetting branches
- Merging branches
- Stashing uncommitted changes
- Setting up a remote repository
- Creating remote branches
- Fetching and pushing changes to a remote
- Enabling remote collaboration
Skill Level Beginner
1. Navigate the Commit Tree
3. Reset Branches
4. Merge Branches
5. Stash Changes
6. Set Up a Remote
7. Collaborate with a Remote
Next steps3m 40s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.