repository not found (probably url configuration is erroneous)

21 views
Skip to first unread message

nicolas muller

unread,
Mar 10, 2025, 4:36:22 AMMar 10
to git-for-windows
I am trying to instaure a remote depot on a server to which I would access through http url method in git commands.
First of all I try to access my depot locally (http://localhost....).

As it is the first time that I configure a (remote) git depot, I intended to take the simplest method, and had as strategy, first to assess the accessibility of my depot through http requests.

I created a depot under a directory named gitLocation under the root where the files that are accessed through http on windows are usually placed. The http server is IIS of course and the place to put the artefacts who are then browsed through http is C:\inetpub\wwwroot.

So I put my depot in C:\inetpub\wwwroot\gitLocation. name depot.git.
I checked that an index.html file near depot.git could be browsed through
http://localhost/gitLocation (or http://localhost/gitLocation/index.html). gitLocation is declared as my virtual directory in IIS

I do all my tests locally at the time being. When it works, then I will try to access my depot from outdoors.

So I should be in a position to acces my depot through commands such as
- git push (--set-upstream) http://localhost/gitLocation/depot.git master

but it answers continuously : repository "http://..." not found.

How can this problem be solved ?
Reply all
Reply to author
Forward
0 new messages