I have a computer with Ubuntu Server. On this computer, I have a user named mattgit.
I have another computer running Windows 7. I am developing Java applications in Eclipse on this computer.
On my server, I ran "git init --shared --bare" to create a central repository for the Eclipse project. I did this once for each project in the Eclipse workspace, each in a separate folder.
I want every project in my Eclipse workspace on my Win7 machine to work like / be / what, terminology is a git repository. I want to be able to then move these files back to the central repository on my server. How to do it?
I tried to clone the (initially empty) central repository of my Win7 machine into a folder in the Eclipse workspace and then create a project there, but Eclipse refuses to create it because it says that the directory is not empty.
I also tried to create a project using Eclipse in my workspace, and then cloned the repository into this folder, but apparently I was not allowed to do this either.
I tried using SmartGit and git binary, and I just got more and more confused.
EDIT: Please assume that I know absolutely nothing about what I need to do. I need step-by-step instructions.
source share