Skip to content

Instantly share code, notes, and snippets.

@A
Created January 20, 2014 12:53
Show Gist options
  • Save A/8519408 to your computer and use it in GitHub Desktop.
Save A/8519408 to your computer and use it in GitHub Desktop.
git submodule add git://github.com/chneukirchen/rack.git rack
# Initialized empty Git repository in /opt/subtest/rack/.git/
# remote: Counting objects: 3181, done.
#remote: Compressing objects: 100% (1534/1534), done.
# remote: Total 3181 (delta 1951), reused 2623 (delta 1603)
# Receiving objects: 100% (3181/3181), 675.42 KiB | 422 KiB/s, done.
# Resolving deltas: 100% (1951/1951), done.
$ git submodule init
# Submodule 'rack' (git://github.com/chneukirchen/rack.git) registered for path 'rack'
$ git submodule update
# Initialized empty Git repository in /opt/myproject/rack/.git/
# remote: Counting objects: 3181, done.
# remote: Compressing objects: 100% (1534/1534), done.
# remote: Total 3181 (delta 1951), reused 2623 (delta 1603)
# Receiving objects: 100% (3181/3181), 675.42 KiB | 173 KiB/s, done.
# Resolving deltas: 100% (1951/1951), done.
# Submodule path 'rack': checked out '08d709f78b8c5b0fbeb7821e37fa53e69afcf433'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment