Skip to content

Instantly share code, notes, and snippets.

@capnslipp
Last active December 28, 2015 08:59
Show Gist options
  • Save capnslipp/7475542 to your computer and use it in GitHub Desktop.
Save capnslipp/7475542 to your computer and use it in GitHub Desktop.
slippyd@silverdelicious:~$ cd Desktop/
# cloning git repo from github:
slippyd@silverdelicious:~/Desktop$ git clone git@github.com:capnslipp/p001.git p001_git
Cloning into 'p001_git'...
remote: Counting objects: 3360, done.
remote: Compressing objects: 100% (870/870), done.
remote: Total 3360 (delta 2407), reused 3331 (delta 2380)
Receiving objects: 100% (3360/3360), 1.94 MiB | 1.86 MiB/s, done.
Resolving deltas: 100% (2407/2407), done.
Checking connectivity... done
# setting up plastic repo/ws:
slippyd@silverdelicious:~/Desktop$ cm mkrep p001@localhost:8087
slippyd@silverdelicious:~/Desktop$ cm mkwk p001 ./p001_plastic
Workspace p001 has been correctly created
# attempting to sync plastic repo with github:
slippyd@silverdelicious:~/Desktop$ cm sync p001@localhost:8087 git git@github.com:capnslipp/p001.git
Error: The transport for git@github.com:capnslipp/p001.git isn't supported, sorry
# resulting filesystem:
slippyd@silverdelicious:~/Desktop$ ls -l
total 0
drwxr-xr-x 16 slippyd staff 544 Nov 14 17:28 p001_git
drwxr-xr-x 3 slippyd staff 102 Nov 14 17:31 p001_plastic
slippyd@silverdelicious:~/Desktop$ ls -l ./*
./p001_git:
total 96
drwxr-xr-x 32 slippyd staff 1088 Nov 14 17:28 App
-rw-r--r-- 1 slippyd staff 34500 Nov 14 17:28 LICENSE.txt
drwxr-xr-x 4 slippyd staff 136 Nov 14 17:28 P-001.xcodeproj
drwxr-xr-x 3 slippyd staff 102 Nov 14 17:28 P-001.xcworkspace
-rw-r--r-- 1 slippyd staff 93 Nov 14 17:28 Podfile
-rw-r--r-- 1 slippyd staff 332 Nov 14 17:28 Podfile.lock
drwxr-xr-x 22 slippyd staff 748 Nov 14 17:28 Pods
-rw-r--r-- 1 slippyd staff 445 Nov 14 17:28 README.md
drwxr-xr-x 6 slippyd staff 204 Nov 14 17:28 Tests
./p001_plastic:
# plastic version:
slippyd@silverdelicious:~/Desktop$ cm version
5.0.43.504
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment