Skip to content

Instantly share code, notes, and snippets.

@AndrewSmart
Created June 13, 2014 22:13
Show Gist options
  • Save AndrewSmart/a705ec95a1048278cafb to your computer and use it in GitHub Desktop.
Save AndrewSmart/a705ec95a1048278cafb to your computer and use it in GitHub Desktop.
asmart@E15048 ~/dev
$ git clone git@github.com:AndrewSmart/git-subrepo.git andrewsmart.git --branch=master
Cloning into 'andrewsmart.git'...
remote: Counting objects: 691, done.
remote: Compressing objects: 100% (370/370), done.
remote: Total 691 (delta 333), reused 604 (delta 283)
Receiving objects: 100% (691/691), 150.74 KiB | 0 bytes/s, done.
Resolving deltas: 100% (333/333), done.
Checking connectivity... done.
asmart@E15048 ~/dev
$ cd andrewsmart.git/
asmart@E15048 ~/dev/andrewsmart.git
$ git subrepo status
This git repo has 2 subrepos:
Error: command failed: git config remote.subrepo/ext/bashplus.url
asmart@E15048 ~/dev/andrewsmart.git
$ git config remote.subrepo/etc/bashplus.url
asmart@E15048 ~/dev/andrewsmart.git
$ echo $?
1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment