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 trialAlan White
7,096 PointsHow to exit after viewing a log
Every time I view a git log, I can scroll to the END of the log, but cannot figure out how to get back to a prompt. I've tried, ctrl-q, q, x, esc, etc. but none work.
I am using the git bash utility on a Windows 10 PC.
Thanks.
Mike Hatch
14,940 PointsHaha, Alan! We all have our sledge hammer moments. Git and Github are a beast of their own. In fact, I was unsuccessful with uploading a project to Github last night. It kept denying me access. If anything, web development teaches you extreme patience.
Alan White
7,096 PointsLooks like it's made me forget my manners, too, Mike. I failed to say "thank you" for your help.
Thank you, Mike!
Mike Hatch
14,940 PointsNo worries. You're welcome.
1 Answer
Mike Hatch
14,940 PointsI'm using Win 10, too. I tried reproducing your error. Typing q into the console is the only way for me to exit, but it won't work immediately after trying one of the other commands you mentioned. But if I type q a second time immediately afterwards it will work. Did you try doing that? Or did you continue to type other commands in succession?
Alan White
7,096 PointsAlan White
7,096 PointsMike, your suggestion worked. In my frustration I wasn't giving the terminal time to accept the 'q' command and come back to the prompt. I'm just glad my sledge hammer was in the other room.