Why am I getting this error when my git repository url is correct?
jitendra@JITENDRA-PC /c/mySite (master)
$ git push beanstalk master
fatal: \'git@skarp.bea
I met a similar problem when I tried to store my existing repo in my Ubunt One
account, I fixed it by the following steps:
Step-1: create remote repo
$ cd ~/Ubuntu\ One/
$ mkdir <project-name>
$ cd <project-name>
$ mkdir .git
$ cd .git
$ git --bare init
Step-2: add the remote
$ git remote add origin /home/<linux-user-name>/Ubuntu\ One/<project-name>/.git
Step-3: push the exising git reop to the remote
$ git push -u origin --all
This is typically because you have not set the origin alias on your Git repository.
Try
git remote add origin URL_TO_YOUR_REPO
This will add an alias in your .git/config
file for the remote clone/push/pull site URL. This URL can be found on your repository Overview page.