In this video, discover how to track remote branches in your local repository.
- [Instructor] In this movie, I want us to talk about … one local branch track the progress of another local branch. … For example, we can have a text edits branch, … which tracks the master branch. … We're regularly going to be pulling … so that it never diverges too far, … and it has most of the commits … Tracking another branch allows us … to have feature branches which continually include … any improvements to the main branch … that we have to deal with … It forces the developer working on the feature branch … to make sure that their changes are going to be ready to fit … Now tracking is also really common with remote branches … and it works in a similar way. … Plus with a bit of configuration, … it also saves us some typing. … Here's the same kind of example … but now I've got a master branch … that's tracking my remote branch "origin/master". … The principles are exactly the same. … I may have other collaborators contributing code … into my my remote repository, … I don't want my master branch to get too far out of sync, …
- 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.