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

Java Local Development Environments Exploring Your IDE Creating Your First Project

Christopher Mlalazi
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Christopher Mlalazi
Front End Web Development Techdegree Graduate 17,305 Points

Event Log

It's my first time to use IntelliJ IDEA and I got this message on the Event Log does anyone know what it means? I clicked Add Root and it seems to be adding something to Github.

1/25/17
12:55 AM    Unregistered VCS root detected
                The directory /Users/chrismlalazi is under Git, but is not registered in the Settings.
                Add root  Configure  Ignore

2 Answers

andren
andren
28,558 Points

It is essentially saying that this project has Git setup (there is a .git folder in the root of the project) but the project has not been registered as a Git project in IntelliJ. IntelliJ has support for graphical Git management built in but that only works if you register the project in the settings. "Add root" adds it for you automatically.

If you are unfamiliar with Git or don't want to manage the project using it (or want to use the CLI to manage it instead) then you can ignore this warning and the Git features built into IntelliJ. It is an entirely optional feature.

It's also worth noting that Git and Github are not the same thing. You can use Git to manage a project without using Github. Github is just the most common place to host Git projects online. There are other Git hosts available and if you don't want to host it online then it is entirely possible to just manage it locally on your machine.

Christopher Mlalazi
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Christopher Mlalazi
Front End Web Development Techdegree Graduate 17,305 Points

Thanks for the explanation Andren. I have saved some projects in Github, but I am not exactly familliar with the operations of git, and your explanation clears the air. Cheers!