Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Development Tools

Git: Creating a development branch from master

I've been working on a project for a while using just the master branch. I would like to start using a development branch so that master acts as the production branch.

Are there any potential issues with creating a development branch off of a master branch that has been in use as the only branch for a good amount of time (i.e, it's been in use for over a year so there are a bunch of commits on it).

Karolin Rafalski
Karolin Rafalski
11,368 Points

None come to mind. When you make a new branch, it will be a copy of the branch you are branching off of. You never have to merge that branch, you can always go back and make a new branch if the one you are working on isn't working out for you. The only problem I have ever had with branches is the occasional merge conflict that has to be manually handled. And that is usually not too bad to deal with.

1 Answer

Awesome, thanks Karolin.