IntelliJ IDEA will now create a Git repository in the root directory of the project. To use Git as the version control for an IntelliJ IDEA project, go to VCS > Enable Version Control Integration and select Git from the drop-down menu. If you can't see the Git tool window, your project is not yet a Git project. You can check that your project isn't under version control by checking if you can see your Git tool window with ⌘9 (macOS), or Alt+9 (Windows/Linux). You don’t want to publish your project on GitHub just yet, but you do want to enable source control for it as you want to do small commits locally while you evolve the code. Let’s assume you have a more complex project than Hello World and that you’re still in the process of writing the code. However, sometimes you want to create a local Git repository for your project well before you publish it publicly on GitHub. The first approach we looked at assumed that you want to do everything in a single step. Creating a Local Repository First and Sharing it to GitHub Later
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |