문제

I only want to clone some things, without changing them.

Is there any way to clone a repository without all the hassle of opening an account, setting up a SSH key, etc?

도움이 되었습니까?

해결책

It's really easy. Use bzr branch lp:PROJECTNAME.

Example (no Launchpad login or keys on this machine):

$ bzr branch lp:bzr
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data.  See "bzr help launchpad-login".

and then it proceeds to download the code.

다른 팁

For those that can't or don't want to install Bazaar, we can download a tarball of a specific revision.

For example:

curl -sLo sakura.tar https://bazaar.launchpad.net/~dabisu/sakura/sakura/tarball/621

Where the revision number is a change from https://bazaar.launchpad.net/~dabisu/sakura/sakura/changes.


Or, maybe the project has the project source available for download from its project page:

curl -sLo sakura.tar.bz2 https://launchpad.net/sakura/trunk/3.7.1/+download/sakura-3.7.1.tar.bz2

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top