Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialMolly Christison
4,882 PointsError message when creating branch
Hello,
I keep getting an error message that reads "fatal: Unable to create 'c:/Users/Molly/my_first_repository/.git/index.lock': file exists."
What does this mean, and how do I get rid of it?
Thank you!
1 Answer
Colton Ehrman
Courses Plus Student 5,859 PointsUsually lock files mean that you don't have access to them because your need to be super user / root user What OS are you on and what is the command you were trying to perform when getting the error?
Molly Christison
4,882 PointsMolly Christison
4,882 PointsI'm using Windows 8.1, and I'm trying to create a branch.