Nyet.

git submodule add https://github.com/AgoraNomic/Header _includes

will create an _includes subdirectory in the current directory, check out the 
current master of https://github.com/AgoraNomic/Header in it, and link that 
into the repository you’re working in as a submodule. This needs to be run in 
an existing clone of whatever repository you’re making changes to.

I have a few minutes, so I can send you a pull request that does this, if you 
point me at the repository you’re trying to make changes to. Feel free to 
contact me off-list, either at my email or on IRC, if you need a hand with Git: 
Git is notoriously difficult to work with.

-o

> On Nov 18, 2017, at 3:41 PM, ATMunn <iamingodsa...@gmail.com> wrote:
> 
> So here would I just do:
> 
>       git submodule add https://github.com/AgoraNomic/Header 
> https://github.com/AgoraNomic/ADoP-old/tree/master/_includes
> 
> On 11/18/2017 2:14 PM, Owen Jacobson wrote:
>> With the caveat that submodules have really bad user experience _even by the 
>> standards of Git’s awful UX_:
>>      git submodule add https://github.com/AgoraNomic/Header some-directory 
>> with “some-directory” replaced with whatever’s useful in the context where 
>> you want to include it.
>> To reconstruct submodules that already exist, either clone the repository 
>> with --recursive, or run git submodules update --init --recursive in an 
>> existing clone. (They do the same thing.)
>> -o
>>> On Nov 18, 2017, at 1:59 PM, ATMunn <iamingodsa...@gmail.com> wrote:
>>> 
>>> So, how would I get that into my new repo?
>>> 
>>> On 11/18/2017 1:45 PM, Owen Jacobson wrote:
>>>> As Aris said, it’s a submodule. What you’re looking at there is the 
>>>> metadata Git keeps to determine which repository, and which commit in that 
>>>> other repository, to use to reconstruct that directory when needed.
>>>> Fortunately, Github links through to the other repository. The root of 
>>>> https://github.com/AgoraNomic/Header/tree/cefaeafa471d76d20482bd46d26c71ecc3345b05
>>>>  
>>>> <https://github.com/AgoraNomic/Header/tree/cefaeafa471d76d20482bd46d26c71ecc3345b05>
>>>>  is used to fill in that directory.
>>>> -o
>>>>> On Nov 18, 2017, at 11:49 AM, ATMunn <iamingodsa...@gmail.com> wrote:
>>>>> 
>>>>> I had tried to copy it, but there's no way to copy this 
>>>>> https://github.com/AgoraNomic/ADoP-old/tree/master/_includes as it 
>>>>> doesn't appear to be a file. I'm not very familiar with Git, so I have no 
>>>>> idea what that is or how it got there.
>>>>> 
>>>>> On 11/14/2017 2:31 PM, Aris Merchant wrote:
>>>>>> It's a submodule, which makes it weird. Copying the other one isn't a 
>>>>>> bad idea.
>>>>>> -Aris
>>>>>> On Tue, Nov 14, 2017 at 10:44 AM, ATMunn <iamingodsa...@gmail.com> wrote:
>>>>>>> Hm, I don't know how to include the header. I've tried to copy from the 
>>>>>>> old
>>>>>>> repo, but I'm having trouble with that. I'm considering just getting 
>>>>>>> rid of
>>>>>>> my new one and using the old one instead.
>>>>>>> 
>>>>>>> 
>>>>>>> On 11/14/2017 1:11 PM, ATMunn wrote:
>>>>>>>> 
>>>>>>>> Yep, thanks.
>>>>>>>> 
>>>>>>>> On 11/14/2017 1:02 PM, Aris Merchant wrote:
>>>>>>>>> 
>>>>>>>>> I'm presuming you're ATMunngit? If so, done.
>>>>>>>>> 
>>>>>>>>> -Aris
>>>>>>>>> 
>>>>>>>>> On Tue, Nov 14, 2017 at 9:35 AM, ATMunn <iamingodsa...@gmail.com> 
>>>>>>>>> wrote:
>>>>>>>>>> 
>>>>>>>>>> I'd like to join the Agora GitHub group, so I can publish my ADoP
>>>>>>>>>> reports on
>>>>>>>>>> there.

Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to