简体   繁体   中英

Windows puts extra slash in git remote repository path

In Windows, after running

git remote show origin

I get the error:

fatal: '/home/git/repositories//username/git-project.git' does not appear to be a git repository

There's an extra slash before username, why would that be?

This is the repo config: http://pastebin.com/5Mxr74zj

我通过将我的GitLab版本从5.0升级到5.1解决了这个问题

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM