Liam Foot opened 4 months ago
|
|||||
Can confirm, just had this problem with a project as well. Luckily I had the option of renaming the project and thus removing the .git part from it's name. But in cases where the user can't change this a fix would be needed. |
|||||
OneDev changed state to 'Closed' 3 months ago
|
|||||
State changed as code fixing the issue is committed (fe89f4a9) |
|||||
Referenced from commit 3 months ago
|
|||||
OneDev changed state to 'Released' 3 months ago
|
|||||
State changed as build #4500 is successful |
Type |
Bug
|
Priority |
Minor
|
Assignee | |
Affected Versions |
9.5.0
|
Labels |
No labels
|
Issue Votes (0)
I imported projects from a URL, and the project names automatically ended with ".git".
E.g. a project would be named "Project.git".
The project clone URL was then listed as e.g. "https://my.domain.com/Project.git".
When running the command "git clone https://my.domain.com/Project.git", it returns an error stating "Unable to find project 'Project'", status code 500. It looks for a project named "Project", when the project is instead named "Project.git".
The solution is to append another ".git" to the clone URL, or to rename the project from "Project.git" to "Project", in which case OneDev shows the correct clone URL.