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 trial

Development Tools

Seeing a (q) Inside Parentheses at the Start of Git Bash Command Line in Windows

I am very new to Git so this may seem like a silly question. I was following along with the video course work and upon trying to exit from a text window attempted tying "q" for quit. Now I am seeing a (q) at the end of my command line.

The following is what I see and what happens after typing "cd .." and "cd" after.

asmatt01@Anthony MINGW32 ~ (q) $ cd ..

asmatt01@Anthony MINGW32 /c/Users $ cd

asmatt01@Anthony MINGW32 ~ (q) $

This is probably a basic question. Not sure if I created an alternate directory or branch. If so, how can I delete it?

1 Answer

james south
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
james south
Front End Web Development Techdegree Graduate 33,271 Points

you can list folders/files in a directory with the ls command (that's the letter ell). cd out of q then run ls, and also in q run ls to see if there's anything in it. there's an -a flag, ls -a, that will show hidden files as well. run help to see other options, ls --help. to delete a file you can use rm for remove. run help on rm to see that the -r flag is needed to delete folders.

Thanks for the feedback. I tried looking for "q" as a hidden file and still no luck. I'm absolutely stumped. I guess I'll keep digging.