Skip to content

Instantly share code, notes, and snippets.

@asukharev
Created April 28, 2012 08:46
Show Gist options
  • Save asukharev/2517258 to your computer and use it in GitHub Desktop.
Save asukharev/2517258 to your computer and use it in GitHub Desktop.
Git remote using iCloud Back To My Mac
git remote add iMac ssh://[email protected]/~/path/to-repo/
hostname is
$ hostname
iMac.local <- this one without .local
xxxxxxxxx
=========
$ dns-sd -E
Looking for recommended registration domains:
Timestamp Recommended Registration domain
12:07:46.550 Added (More) local
12:07:46.550 Added icloud.com
- > btmm
- - > members
- - - > 123456789 <- this number
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment