In this video, learn to add a remote repository to a Git project.
- [Instructor] Once you have an account with GitHub, … and you've told GitHub … to create a remote repository for you, … then now we need to add information … about that remote repository to our local repository. … In the previous movie, … we set up this explore_california repository on GitHub. … And in the process it said, … okay, we're all done with setting it up, … on how you can proceed. … is this one right here. … Push an existing repository from the command line, … because we already have an existing repository. … And these are the commands we're going to be using. … We're going to come back here in a moment. … For now, let's just jump back our command line … and we're already inside our project, … it doesn't matter what branch you're on. … We're going to test-type, git remote. … And that will show us a list of the remotes … that we have currently. … It doesn't give us any, because we don't have any remotes. … It works a lot like git branch does. … Git branch shows us our branches, …
- 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.