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 Git Basics Getting Started With Git Committing Changes

John Chybowski
John Chybowski
5,225 Points

Nano editor - my "Git Commit" command launches Nano, but after typing, ctrl-X does nothing. Can't exit Nano.

Why would my Nano editor not behave as expected? Normally when I launch Nano, ctrl-X exits (and prompts me to save a file if I made changes). When I execute "Git Commit", Nano launches but I can't figure out how to exit Nano (and save the changes). In this case, ctrl-X brings up some carat-&-letter gobbledygook.

2 Answers

Hey John, I'm mobile right now but see if this helps you.

http://askubuntu.com/questions/398640/nano-unresponsive-when-using-git-commit-ubuntu-12-04

John Chybowski
John Chybowski
5,225 Points

Dustin, that helped a lot. Thanks! I had no idea I was using vim. I'm going to look up how to change my default text editor to Nano, unless you have a better text editor recommendation.