

Depending on which IntelliJ version you have, the icons could appear differently. You can find Intellij’s Git options on the top right of the window.
#PHPSTORM GITHUB HOW TO#
To learn how to commit and push your changes, move on to the next step! Step 2: Push your changes to GitHub!Īfter you make new changes, you must commit and push them so your Github repository will be updated. In other words, if you change a file from your new cloned repository on IntelliJ and save that file, you will NOT see your changes if you check your Github repository online. Remember, we have just cloned your git repository- all changes you make to these Intellij files will STAY on your local machine unless you push them to the central repository in Github. You should see the files from your git repository on your Intellij window now. You’ve successfully cloned your git repository onto your computer (and opened it in Intellij)! You can just click ‘Yes’ or ‘Confirm’ on the screens that follow IntelliJ will now ask you if you want to customize setup or rely on the default. Confirm checkout from version control.(Note: The order of steps 3 and 4 might be flipped) Specify where in your computer you’d like the project to be saved.Įnter your GitHub credentials if asked for. The Directory is where this project will be stored on YOUR computer. You can access this link if you go to the repository you’re trying to open with Intellij, click on the green ‘Code’ button on the top right, and then copying the HTTPS link. The URL is asking for the HTTPS clone link. This is done from the welcome screen in Intellij!Ĭlick Check out from Version Control -> Git -> Log in to GitHub. This is a PhpStorm theme incorporating GitHub inspired colours and syntax highlighting, and slightly enlargened font size and line spacing. Checkout a project from Version Control.You should now see the main IntelliJ screen (It looks like the picture below). Close any projects you currently have open.Our first step is to clone a Github Repository onto our local machine How to clone remote repo to local repo and manage it with IntelliJ
#PHPSTORM GITHUB CODE#
Our local machine is the computer/device you are going to be editing the code on.The changes made on your local machine will not be sent to our github repository until they are committed and pushed.

Our Github Repository is the code hosted on Github. In this tutorial, we will be cloning a Github Repository into our local machine using IntelliJ and practicing committing and pushing our changes.
