You are not logged in.

#1 2019-01-10 20:47:49

prosvetlyonniy
Banned
Registered: 2019-01-06
Posts: 25

git: fatal: remote error: access denied or repository not exported

I'm trying to clone the repository https://git.archlinux.org/svntogit/pack … ages/clang

git clone git.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/clang/
fatal: repository 'git.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/clang/' does not exist

and next command:

it clone git://git.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/clang
Cloning into 'clang'...
fatal: remote error: access denied or repository not exported: /svntogit/packages.git/tree/trunk?h=packages/clang

How to clone this repository!

Offline

#2 2019-01-10 20:57:34

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: git: fatal: remote error: access denied or repository not exported

git clone git://git.archlinux.org/svntogit/packages.git --single-branch --branch "packages/clang"
Cloning into 'packages'...
remote: Enumerating objects: 72, done.
remote: Counting objects: 100% (72/72), done.
remote: Compressing objects: 100% (61/61), done.
remote: Total 72 (delta 18), reused 54 (delta 3)
Receiving objects: 100% (72/72), 16.16 KiB | 501.00 KiB/s, done.
Resolving deltas: 100% (18/18), done.

Offline

#3 2019-01-10 22:02:11

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: git: fatal: remote error: access denied or repository not exported

asp checkout clang

Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2019-01-10 22:05:42

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: git: fatal: remote error: access denied or repository not exported

prosvetlyonniy wrote:

I'm trying to clone the repository https://git.archlinux.org/svntogit/pack … ages/clang

git clone git.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/clang/
fatal: repository 'git.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/clang/' does not exist

and next command:

it clone git://git.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/clang
Cloning into 'clang'...
fatal: remote error: access denied or repository not exported: /svntogit/packages.git/tree/trunk?h=packages/clang

How to clone this repository!

The former is not even a valid git clone url as it does not have a protocol:// and it is not an ssh location.

The latter is simply invalid since that is not a git repository at all. git://git.archlinux.org/svntogit/packages.git is a repository, and the funny queries at the end would require you to learn the options supported by git-clone(1)

But this is all irrelevant. The "asp" package from community is designed to fetch the official repository packages for you, without fiddling around with low-level implementations.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#5 2019-01-10 23:10:42

prosvetlyonniy
Banned
Registered: 2019-01-06
Posts: 25

Re: git: fatal: remote error: access denied or repository not exported

Yes, asp is the best solution

Offline

#6 2019-01-11 01:27:09

2ManyDogs
Forum Moderator
Registered: 2012-01-15
Posts: 4,645

Re: git: fatal: remote error: access denied or repository not exported

Please remember to mark your thread [SOLVED] (edit the title of your first post).

Please also read https://wiki.archlinux.org/index.php/Co … ow_to_post


How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.

Offline

Board footer

Powered by FluxBB