update.sh

Jesse Phillips jessekphillips+D at gmail.com
Sun Jan 15 19:15:01 PST 2012


On Monday, 16 January 2012 at 02:28:37 UTC, Andrei Alexandrescu 
wrote:

> Looks like the issue is this:
>
> git clone git at github.com:D-Programming-Language/dmd.git
>
> Do you have a github account set up that would let you run the 
> command above? If not, I wonder how the situation can be 
> detected and what instructions to give the user.
>
>
> Andrei

Note that the line shown is using pulling as the 
D-Programming-Language organization, so only members there will 
have such access. You could use the read only version:

git://github.com/D-Programming-Language/tools.git

I might suggest using:

git clone -o upstream 
git://github.com/D-Programming-Language/tools.git

for cloning a new repository. This would allow developers to add 
their fork of the repository as origin (Default remote name). So 
now the update script would have to pull from upstream instead of 
origin to do the update... This will be a common setup for not 
D-Programming-Language organization members.


More information about the Digitalmars-d-announce mailing list