In this video, delete a branch on a remote repository.
- Now that we know how to create … and work with remote branches, … I also want us to learn how to delete them. … When I talk about deleting a remote branch, … I'm talking about removing the branch … from the remote repository, not the local repository. … The local repository can still keep the branch, … I'm telling git hub that it ought to remove this branch. … You can remove remote branches any time … but it's most useful whenever a feature branch … has been completed and merged. … So, let's imagine that you have a master branch, … you branch off of that to make a feature branch, … you work on that feature for a couple of days, … when the feature is finally complete, … you merge it back into master. … Now I don't need that feature branch anymore. … You may want to leave it around for a few days, … but at some point those feature branches start to accumulate … and we need to get rid of them. … So we want to tell git hub that it can get rid of them … and maybe we want to remove them …
- 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.