Mac、Windows和Linux上的Git,状态不同
我在MacBookPro、Windows7和Linux(Slackware)PC中安装了git 我在它们中安装了Dropbox来同步一个名为“projA”的项目 当我在Mac、Windows和Linux上的Git,状态不同,git,dropbox,Git,Dropbox,我在MacBookPro、Windows7和Linux(Slackware)PC中安装了git 我在它们中安装了Dropbox来同步一个名为“projA”的项目 当我在projA中发布git status时,结果不同: Mac: clean Win7: some files are modified (# but the md5 of these files are all same in three machines.) Linux: some files are deleted (#a
projA
中发布git status
时,结果不同:
Mac: clean
Win7: some files are modified (# but the md5 of these files are all same in three machines.)
Linux: some files are deleted (#and they are really be deleted)
有什么问题吗?吉特?Dropbox?Git存储库并不是真的要这样使用的。见这个问题:
将Dropbox从等式中剔除,在您的一台机器上使用裸repo,或者使用Github或其各种竞争对手之一,这样更安全。将您的工作目录放入Dropbox被认为是有害的。为什么要使用Dropbox来同步您的repo,而不是使用Github或Bitbucket这样的托管提供商?如果你不想为这些服务付费,你甚至可以在USB驱动器上粘贴一个裸露的repo,并以这种方式同步你的机器,因为Git接受文件路径作为远程repo URI。
Mac: clean
Win7: some files are modified (# but the md5 of these files are all same in three machines.)
Linux: some files are deleted (#and they are really be deleted)