Every time I am starting a new IntelliJ IDEA project I encounter the same problem: I want to link the project to a new git repository (like one that I created on Bitbucket.com). But it always takes ages to figure out how to set this up until I finally manage to do it. And when I start the next project I run into the same problem. So, I wanted to ask if anyone knows the exact steps I need to take to create a new project and link it to a new, empty repository.
Do I first create a new repository, clone it and then generate my project into that folder? I tried that but then Intellij IDEA keeps telling me there were no changes when I am trying to do my initial commit. Also, git status
in the command line says there is nothing to commit.
If I create an empty repository and then create a new Project File
>New
>From existing sources
my project is linked to the repository and I can commit. But I can generate a project anymore.
Can anyone summarize the process in a few simple steps? There must be a simple solution to this, but I can't figure it out :(