Forum

Alias git clone

beli3ver
6 October 2018, 11:26
Hi,

i have a static website were people can look at my repos

XXX.de/git/testrepo

Now I want that the users can clone this with

git clone http://XXX.de/git/testrepo.git

How can I do this?
The static files in

/srv/www

The repos are in

/srv/git

Can you help me?
beli3ver
6 October 2018, 20:48
The fix was easy a simple

git update-server-info

And i can clone the repos.
Sorry for that post
Hugo Leisink
7 October 2018, 14:23
No problem. Good to hear it works.
This topic has been closed.