[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Doing an anonymous git clone from bitbucket: is it possible?



 ❦ 10 mars 2013 11:27 CET, Thomas Goirand <zigo@debian.org> :

> Is it possible to do an *anonymous* clone of a bitbucket repository
> using git? I saw it is possible to do a clone over ssh, but that's not
> what I want to do (ssh client asks for confirming the remote ssh host
> key, which I don't want to, I just want upstream source code so that I
> can put that in "./debian/rules get-vcs-source"...).

Untested:

GIT_SSH="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" \
 git clone ...
-- 
Use library functions.
            - The Elements of Programming Style (Kernighan & Plauger)

Attachment: pgpjOo_KIdOh0.pgp
Description: PGP signature


Reply to: