(例如 android framework project 有自己 create 的新 project folder,就會需要這樣).
用 git clone 也可以,但是用這樣好像比較合理:
git init
git remote add myserver git://.....
git pull myserver
ref: http://blog.opsb.co.uk/instant-remote-git-repository-using-ssh
git init
git remote add myserver git://.....
git pull myserver
$ git clone ssh://charles@servername/~/mysourcecode
.. 可以用 ~ 就不用寫一堆 /home/charles/...