2
无法使用Git Bash同步到另一个卷
我在Windows机器上使用git bash:适用于Windows的Git 2.7.2版本(32位版本),建于2016-02-23,可从https://git-scm.com获得。 在bash中,我可以将目录从复制/c/到/e/(USB拇指驱动器)。但是,尝试使用时会出错rsync。我尝试添加cygdrive目录名称,但这没有用。还尝试添加-e也不起作用(只是为了查看会发生什么情况)。 我提到复制命令有效是因为奇怪的是我只能以一种方式看到驱动器,而没有以另一种方式看到它。 成功复制: 不成功rsync: 谢谢,如果您不赞成我的问题,请发表评论。 其他背景和研究: 错误255 在某些时候,我认为我遇到了完全相同的错误(255),这使我进入了这篇文章。但是,这里的解决方案与而cygwin不是git bash有关。 /programming/16969119/dotcloud-push-on-cygwin-fails-with-rsync-error-unexplained-error-code-255 流浪汉和rsync 关于的机理有很多很好的讨论rsync,尤其是关于mitchellh。但是,我不确定我的安装中是否存在它们引用的组件,或者不确定如何分辨。我在这个网站上询问了有关该问题的另一个问题。来源:https : //github.com/mitchellh/vagrant/issues/3236 列出模拟Linux环境中的驱动器 来源:http : //mingw-users.1079350.n2.nabble.com/Windows-c-drive-td6555321.html 当cat /etc/fstab我得到以下信息时: $ cat /etc/fstab # For a description of the file format, see the Users Guide # http://cygwin.com/cygwin-ug-net/using.html#mount-table # DO NOT REMOVE NEXT LINE. It remove cygdrive prefix …