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

HTML

Where do need to start the git init?

Hy,

when and where do i need to start the git init command?

If my project looks like this:

project > index.html site2.html site3.html css/style.css js/something.js and so on.

Where do i need to use it?

Sry i am a little bit confused.

1 Answer

If you are in Workspaces it is simpler and all you need to do is open the Console (you can do this my selecting View > Show Console) and type git init in it.

If you are working on your local machine, I highly recommend using Mac. On a Mac, you can simply boot up the Terminal. You can use the Spotlight to search your computer. You then should cd into the directory your project is, then type git init.

If the above sounds like gibberish, I highly recommend taking the Console Foundations then the Git Basics course.

I hope this helps :grin:

:dizzy: ~Alex :dizzy: