What comes first local git repo or new Intellij project?!?

Answered

I'm an Intellij newbie and also trying to learn Git at the same time.  I want to create a new IntelliJ project and to use Github as the VCS.   So what happens in what order?

Do I....

Option #1 

  • Create a new local repo
  • Create a new Intellij project and use the new  repo folder as the base folder for the new project

Option #2

  • Create a new IntelliJ project
  • Create a new repo
  • Check in the files to the repo when they are complete

 

 

0
1 comment

Either way would work, #2 can be performed entirely from IntelliJ IDEA without the command line.

0

Please sign in to leave a comment.