Issue
Hello I have the following problem I want to commit everything and the project folder in git from eclipse
i do the following
src="https://i.stack.imgur.com/qkuNO.png" alt="enter image description here" />
enter image description here
what I want to obtain is that when I commit it in my repository the project folder is made and all the code is inside for example repository/myProject/foldercodes
what i get is the following repository/foldercodes
Solution
What I get is the following repository/foldercodes
That is expected: when you are sharing a project with Eclipse, Git will look of your project folder content (and initialize a .git
subfolder in it).
The remote repository can be named after your project name 'myProject', that way, when you clone it back later on, your foldercode will be inside a myProject
folder created by Git clone and whose name is derived by default from the Git repository name.
Answered By - VonC
Answer Checked By - Timothy Miller (JavaFixing Admin)