Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/26.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Linux samba共享上的git_Linux_Git_Ubuntu_Git For Windows - Fatal编程技术网

Linux samba共享上的git

Linux samba共享上的git,linux,git,ubuntu,git-for-windows,Linux,Git,Ubuntu,Git For Windows,我有一个通过samba从基于raspian系统的raspberry pi导出的文件文件夹。在windows中,我在映射为驱动器T:的文件夹上执行了git init。那里一切都很好 现在,我有一个Ubuntu系统正在安装samba共享,我也想在那里进行开发。但是,当我尝试使用git时,它似乎被锁定在windows文件结构中: $ git status fatal: Could not chdir to 'T:/': No such file or directory 我用git做的事情可能吗?如

我有一个通过samba从基于raspian系统的raspberry pi导出的文件文件夹。在windows中,我在映射为驱动器T:的文件夹上执行了git init。那里一切都很好

现在,我有一个Ubuntu系统正在安装samba共享,我也想在那里进行开发。但是,当我尝试使用git时,它似乎被锁定在windows文件结构中:

$ git status
fatal: Could not chdir to 'T:/': No such file or directory
我用git做的事情可能吗?如果我在Linux系统上执行原始git init,Windows会有问题吗

reo本地配置文件如下所示:

$ cat .git/config
[core]
    repositoryformatversion = 0
    filemode = false
    bare = false
    logallrefupdates = true
    worktree = T:/
    symlinks = false
    ignorecase = true

我没有.gitmodules文件。

您应该能够自己回答最后一个问题。什么是repo本地git配置?您有
.gitmodules
文件吗?