Hey, Is it possible to fork an external git repo into my private repo as a submodule and have it be useful?
What I've done: 1. Cloned an external repo and added it to my local repo as a submodule. When I pushed, an unclickable folder showing the submodule appeared on GitHub. 2. Added my private url as remote. Pushed, but no change. 3. Made a change to the submodule and pushed. That seemed to work, but when I pulled, then submodule updated from another repo, it failed with: Initialized empty Git repository in /Users/formido/Programming/snippets/project/.git/ remote: Counting objects: 2053, done. remote: cts: 100% (704/704), done. remote: Total 2053 (delta 1199), reused 2053 (delta 1199) Receiving objects: 100% (2053/2053), 323.34 KiB | 72 KiB/s, done. Resolving deltas: 100% (1199/1199), done. error: pathspec 'ad83538a0b1d4210503c77b297d6882c891f425f' did not match any file(s) known to git. Did you forget to 'git add'? Unable to checkout 'ad83538a0b1d4210503c77b297d6882c891f425f' in submodule path 'project' Michael --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "GitHub" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/github?hl=en -~----------~----~----~----~------~----~------~--~---
