trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: December 2011

Re: [trinity-users] git usage

From: "Timothy Pearson" <kb9vqf@...>
Date: Fri, 9 Dec 2011 11:14:32 -0600
> Timothy Pearson a écrit :
>>> I'm trying to "pull" the git directory as an anonymous user with:
>>>   ./scripts/switch_all_submodules_to_head_and_clean
>>> For each submodule, it ask me for a password, three times
>>> (submodule + admin + cmake).
>>> That means doing "Enter" 378 times...
>>> Is there a way to bypass this procedure?
>>
>> This is one of GIT's more irritating limitations.  What I ended up doing
>> was creating a bash script "gitpass" in my home directory like this:
>
> So there's no option to tell Git to not ask for passwords?

No.  The workaround mentioned in this thread with /bin/echo is pretty
clever though, and performs very closely to what is desired.

Tim