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 trialLuis Flores
10,499 PointsThe github tab is not under control version
I tried signing up for Github and then signing in the intellj settings but still doesn't show.
1 Answer
Liam Clarke
19,938 PointsHi Luis
Could do with a little more information in order to help you, for example, is this a project going to GitHub? is this a project you want to clone from GitHub? have you signed up correctly with GitHub?
I'll talk you through the most likely cases. assuming you are using the latest version of IntelliJ and you know the basics on Git, Treehouse has some Git workshops to get you up to speed if not.
To make it easier I recommend setting up your terminal to work with Git
Or
- press (Ctrl+Alt+S) to open up the settings
- Open up the tools tab
- Click terminal
- Change your shell path to whatever you use, I use bash so mine looks like the following:
"{Drive}:\{Folder}\Git\bin\bash.exe" --login -i
Git config signing in
- In the terminal type in "git config user.name {your name}"
- In the terminal type in "git config user.email{your Git email}" (use git config -- global to set up on all your projects)
Clone a project from Git
- From the main menu, click "Check out from version control"
- On the drop-down menu, click Git
- Enter the directory you want to place the project
- Enter the URL (use the https URL for now)
- Optional. You can sign in to your Git account here for later use
- Click clone and there you go
or
- open a new empty project
- Open the terminal
- type in "git clone git@github.com:{username}/{name of your project}.git"
Add a project to GitHub
- Open the project you want to push to git
- Open up the terminal and type "git init", this will initialise an empty git repo
- Go to Github and copy the clone URL of your git project
- type in the terminal "git remote add origin git@github.com:{username}/{name of your project}.git"
- You can then push your code to the remote
Recommended reads
Treehouse Workshop using GitHub with visual studio, some of this stuff will be useful for you
Luis Flores
10,499 PointsLuis Flores
10,499 PointsI don't know much about git but in the video that i'm on Dennis clicks on github like in :16 in -> https://www.youtube.com/watch?v=Jm7HDGFayvk but I don't have github in my version control
Liam Clarke
19,938 PointsLiam Clarke
19,938 PointsThat is an outdated video.
I talk you through this step above in the βclone a project from gitβ section, as I mention above in this section you click on βgitβ
I also talk you through this another way in the set up of your git config file.