Reputation: 29
So I’m in the process of creating a new maven project on IntelliJ
From a many google searches I saw one that said it can happen from using two screens which I am.
So to create a new project I took these steps.
Then went on terminal to write :
cd Documents/git/Summer2021_Framework/
git branch
to check if I’m in & I get an error message saying : no such file or directory
.
My folder is in the right place in documents, then git than its own folder called Summer2021_Framework
usually it’ll be a location problem, but it is not.
What should I do?
Upvotes: 2
Views: 4923
Reputation: 1324238
Git clone “pasted SSH 🔑 “
You are supposed to use an SSH URL, not SSH key:
cd Documents/git
git clone [email protected]:<you>/Summer2021_Framework
cd Summer2021_Framework
Then you can start working.
Upvotes: 1