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

nitin suresh
nitin suresh
5,691 Points

How to open a file in sublime editor in git ?

I saw in the github basics video that the file was opened in the atom editor using the command atom . in git . We can open a file using notepad with the command notepad filename. How can we do the same using Sublime text editor in windows ?

2 Answers

Moritz Lang
Moritz Lang
25,909 Points

Hey, first of all you mean the console and not git. Git is just a version control system that you can run on your console, terminal, whatever :) To enable the subl command in your console you have to do some manual work. Just ask Google for "<your operating system> sublime text console command" and you should find more than one tutorial that shows you how to accomplish that. Hope this helps ;)

nitin suresh
nitin suresh
5,691 Points

Thanks Moritz Lang for the answer . I found the console command!! Also thanks for explaining the difference between console/terminal and git.

Moritz Lang
Moritz Lang
25,909 Points

Glad that you found it! You're welcome :)