Skip to content

Instantly share code, notes, and snippets.

@cstamas
Created May 1, 2010 22:31
Show Gist options
  • Save cstamas/386715 to your computer and use it in GitHub Desktop.
Save cstamas/386715 to your computer and use it in GitHub Desktop.
cstamas@Dee sshjgit$ cd ..
cstamas@Dee tmp$ mkdir sshjgit-clone
cstamas@Dee tmp$ cd sshjgit-clone/
cstamas@Dee sshjgit-clone$ git clone ssh://cstamas@localhost:2222/repo.git
Initialized empty Git repository in /Users/cstamas/tmp/sshjgit-clone/repo/.git/
remote: Counting objects: 3, done
remote: Compressing objects: 100% (3/3)
Receiving objects: 100% (3/3), done.
cstamas@Dee sshjgit-clone$ l
total 0
drwxr-xr-x 3 cstamas staff 102 May 2 00:31 .
drwxr-xr-x 5 cstamas staff 170 May 2 00:30 ..
drwxr-xr-x 4 cstamas staff 136 May 2 00:31 repo
cstamas@Dee sshjgit-clone$ l repo/
total 8
drwxr-xr-x 4 cstamas staff 136 May 2 00:31 .
drwxr-xr-x 3 cstamas staff 102 May 2 00:31 ..
drwxr-xr-x 13 cstamas staff 442 May 2 00:31 .git
-rw-r--r-- 1 cstamas staff 4 May 2 00:31 README
cstamas@Dee sshjgit-clone$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment