Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
Git Bash (Text Editor)
I was trying to follow along with the Git Basics videos and after installing the Git program i tried using the text editors mentioned (notepad and nano) but when i try to do so it says the command is not found. I'm not completely sure what the problem is of if i just need to install another program so any help would be greatly appreciated.
Michael HuletTreehouse Moderator 47,826 Points
It sounds like you're using Windows. As far as I know, you must launch Notepad like you normally would (through the GUI), and nano isn't available on Windows (at least not built in.. It may've been ported by now, but I don't know), as it is primarily a program for a UNIX/UNIX-Like SHell
Ken AlgerTreehouse Teacher
I would recommend changing your text editor away from Notepad. There are several free ones available that are far better for programming in general. Perhaps not necessary for the GIT BASH examples, but something like gedit or Notepad++ for Windows has, in my experience, been extremely helpful in programming.
Aaron Rosario1,840 Points
You can use vi which comes with gitbash. Just remember these two vi commands, when you open a file, hit 'I' to insert. When you are done making changes hit ESC, then type :wq hit enter and it's as close to pico/nano/edit as you can get. If you just want to view a file you can use vi and just use the :q command to exit vi.