Skip to content

Repository folder path #170

@v9n

Description

@v9n

Hi,

To my understanding, when using over SSH then the ROOT of repository has to be the HOME folder of the GIT user it's running on.

Take this example, git@try.gogits.org:unknown/gogs.git meaning the /home/git will be the path of ROOT repository. So when running over SSH, the path will be reference correctly. If we used like /home/git/ is the home folder of Git user, and /home/git/repository is the ROOT of repository section in config file, then the URL to clone become:

git@try.gogits.org:repository/unknown/gogs.git

If so, we have to put it somewhere in the doc, right? When I installed it on my server, I got some trouble with the path until I realize the problem.

Exampmle. on my MAC I used:

[repository]
ROOT = /Users/kureikain/gogs-repositories

And when I clone I has to use the URI

kureikain@localhost:gogs-repositories/kureikain/test1.git

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    💊 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy