Pushing pre-existing local repo to GitStack?

0
Hello I’ve been using git earlier with a server on the local network, but have now installed GitStack on a remote server. What I want to do is push my already existing local repo to gitstack. I’ve altered the .git/config file with the new address. When doing the git clone command in the how to get started-guide I get: fatal: destination path ‘xxxxxx’ already exists and is not an empty directory. I’m assuming this is because this command is actually trying to clone from the server to local? When just doing git push I get: fatal: Unable to look up xxxxxxxx@xxx.xxx.xx.xxx (port 9418) (A non-recoverable error occurred during a database lookup. ) I’m assuming this is because GitStack wants connections on port 80? If so, how do I set git to connect to port 80? If it’s something else, does anyone have any idea how to fix it?   Thanks   Edit : Wow, the formatting here is terrible.. That’s not how it looked when I wrote it ;)   Edit2: I figured out how to change the port to 80 by reading another question, but it still gives the same error, only with port 80 instead…
asked September 13, 2012
CeeRo
10

1 Answer

1
Looks like I have figured it out now :) I was using git:// instead of http:// in the url, and also had /GitStack/repositories as part of the url. I am now in the process of doing a git push --all and it seems to be working :)
CeeRo
10

Your Answer

Please login to post questions.