In this video, view and create branches in a repository.
- In this movie, we're going to learn how to create branches. … Before we create our first branch, … let's just start by looking … at the branches that are there currently. … If I type git space branch then it will show me … a list of the branches. … When I hit return, you see it comes up … and there's only one branch. … It's the master branch and by default, … that's the name that every git project gives … when you first initialize the project. … It says alright all commits … are going to be on one master branch. … That's the starting point. … Notice that there's also an asterisk over on the far left … and that it's colored green. … That's to indicate that this is the current branch … or the currently checked out branch. … At the moment, there is only one branch … but once there are several, only one of them will be … designated as the current branch. … Okay, now let's create a branch. … I told you that creating branches was very easy, … it really is, git branch and then a space, … and then the name of our branch. …
- 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.