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 trialAbe Layee
8,378 Pointsgit log fatal: bad default revision 'HEAD'
Why am I getting this error each time I use git log to show me where I am within the git bash. I am a noob at this git stuff. I am using window 10.
1 Answer
Bruno Bandeira de Azevedo
25,374 PointsYou have to start your repository locally, add files to it and commit before doing remote.
try erasing the .git git init git add . git commit -m "Whatever" then do whatever you wanted