If a change you're making to a Subversion/SVN project is big enough, or experimental enough, you might want to create a new branch for working on your changes, to keep it separate from the primary development trunk. In this video you can talk about how to create new branches using Eclipse, and how to switch your working copy to use a branch.
- [Narrator] So far, we've been doing all our work in trunk.…That's fine and some people stay in trunk and never leave,…but most people use some sort of branching strategy…to work on branches separate from trunk,…so they can merge their changes back in later,…or so they can abandon their changes if they don't work.…Let's make a branch and see what that process looks like.…We're starting from the Eclipse project,…we used in the previous section,…that's already connected to the SVN server.…Right-click this project in Package Explorer,…and choose Team, Branch.…
One thing that might trip you up here,…up until now we've been entering full URLs…to point to repositories and projects…on the Subversion server,…but the Eclipse Subversive plug-in is kind of smart,…and it knows that when we say we want to make a branch,…that means we want to create a folder…in the branch's folder of the current project.…It already knows what project we're in…and it knows that the branch's folder is,…or will be, called Branches.…So you don't need any of that up here.…
Author
Released
6/14/2017- Trunks, tags, and branches
- Checkout, commits, and revisions
- Merging, locking, and working with a team
- TortoiseSVN on Windows
- SVN integration with Eclipse
- Connecting to a project
- Creating a new Java project in Eclipse
- Connecting to an existing Java project using Eclipse
- Dealing with projects that move to a new location
- Making changes and creating branches
- Tracking changes and dealing with conflicts
- Creating a release
Skill Level Intermediate
Duration
Views
Related Courses
-
Git Essential Training
with Kevin Skoglund6h 25m Beginner -
Learning Git and GitHub
with Ray Villalobos1h 21m Intermediate -
Learning Software Version Control
with Michael Lehman2h 55m Intermediate -
Version Control for Everyone
with Joe Chellman2h 6m Beginner
-
Introduction
-
Welcome1m
-
Exercise files1m 31s
-
-
1. Concepts and Terminology
-
Repositories: What where how5m 33s
-
Trunks, tags, and branches7m 42s
-
2. Getting Started
-
Command line client7m 17s
-
TortoiseSVN on Windows2m 56s
-
SVN integration with Eclipse5m 52s
-
3. Connecting to a Project
-
4. Making Changes and Creating Branches
-
Update and synchronize6m 37s
-
5. Tracking Changes and Dealing with Conflicts
-
Rolling back changes7m 18s
-
6. Creating a Release
-
Releases and the trunk8m 21s
-
-
7. Supplemental Resources
-
Use SVN and git together4m 29s
-
-
Conclusion
-
Next steps1m 20s
-
- 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.
CancelTake 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.
Share this video
Embed this video
Video: Create a branch using Eclipse