How to create a project in IntelliJ then make a GitHub repository for it? [duplicate]
I created a java project in IntelliJ and cannot commit it to the GitHub repo.
I tried creating a repo first on GitHub and creating a project locally but cannot commit it to my repo. It always says the following error.
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I must have done something wrong and can someone give me a clear tutorial on this?
I want to create a...