Using MobileMe idisk as a git repository
Posted
by Ben Guest
on Stack Overflow
See other posts from Stack Overflow
or by Ben Guest
Published on 2010-05-31T20:09:54Z
Indexed on
2010/05/31
20:13 UTC
Read the original article
Hit count: 461
I am trying to use git and MobileMe as a version control system for a personal project I am working across several computers. So far i have done the following.
Created and empty bare repository on my local computer
$ mkdir myproject.git
$ cd myproject.git
$ git init --bare
$ git update-server-info
I then copied the myproject.git
directory to the mobile me disk, and sync my computer with mobile me.
I then switched to the directory where my project was on my local machine, set the remote origin and try to push the local repository to mobile me
$ cd myproject
$ git remote add origin https://<username>@idisk.me.com/<username>/myproject.git/
$ git push --all
Im am then asked for my password twice. The first time is the mobile me password, any other password gets an error. After entering the second password, and believe me i've tried everything, terminal just hangs. So what am I doing wrong? (Besides trying to use mobileme as a git repository)
Thanks, Ben.
© Stack Overflow or respective owner