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

crystalh
seal-mask
.a{fill-rule:evenodd;}techdegree
crystalh
Front End Web Development Techdegree Student 3,104 Points

Can I use Nano using Window 10

I'm using Window 10 and Git Bash. I'm having trouble following the video b/c things are different. It doesn't tell me how to save git commit. So I this is what i got below: Crystal@CrystalPC MINGW64 ~/my_really_cool_project (master) $ git add README.txt

Crystal@CrystalPC MINGW64 ~/my_really_cool_project (master) $ git commit Vim: Error reading input, exiting... Vim: preserving files... Vim: Finished.

Also, am I able to use Nano using Window 10?
Crystal@CrystalPC MINGW64 ~/my_really_cool_project (master) $ nano ~/.gitconfig bash: nano: command not found

2 Answers

Hi,

Unfortunately nano is an apple programme, our alternative on windows in notepad.

I must say if there is one downfall using windows it is the command line, but I use it and 9 times out of ten there is a GUI for you to use so it wont get in your way :)

Have you downloaded the github for windows app ?

Craig

crystalh
seal-mask
.a{fill-rule:evenodd;}techdegree
crystalh
Front End Web Development Techdegree Student 3,104 Points

Yes, I downloaded the GitHub Desktop for Windows when I was following the another video (Share your project with GitHub Desktop). I was confused with that video so I turn to Git Basics to understand the concept better, but i'm confused here as well. OMG..i'm going bananas!!

Hi,

Firstly the most important thing I did with github for desktop is change the default shell to 'Cmd', this means I can execute the git commands in the same place I use Sass, npm and so on. The reason I did not use Git Bash is that it only created confusion for me needing to execute different commands depending on which piece of software they were related to.

It did take a little time because I have to learn the basics of the windows cmd to really get the full use of Git but it has been well worth it.

I also found this article on how to move files in the windows command line helpful as everything on treehouse is targeted at an "Unix" user.

The other article or pages that help me out was the Git Docs themselves. There is tutorials and endless docs on simple git commands all the way up to the difficult ones.

Git Docs

The trouble you are having above; is that related to a part of the course or something you are doing on your own?

Craig

John Burkhard
John Burkhard
16,314 Points

Nano is actually Unix, not Apple. It's a fork of the pico editor.