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,606 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.