We\'re in the process of migrating from Mercurial to Git for our workflow and I have two minor issues.
First, is it possible to \"clone\" a local repository directly
Easiest git equivalent to hg clone . ssh://account@server/www
is:
rsync -avz . ssh://account@server/www/reponame
In fact, I have added this line to ~/.bash_aliases to mirror any directory anywhere:
alias mirror="rsync -avz . ssh://account@server`pwd` --delete"
It could prove dangerous if you happen to be in a special directory like /dev or /bin. Be careful.