所以我正在将一个项目克隆到一个新文件夹,其名称不同于repo的名称.所以clone命令是这样的:
git clone --recursive git@example.github.io:/my-repo other-folder-name
我第一次在Android Studio 1.4.1中打开它后,会更改以下文件:
modified: .idea/.name
deleted: .idea/codeStyleSettings.xml
deleted: .idea/dictionaries/fronilse.xml
deleted: .idea/encodings.xml
modified: .idea/gradle.xml
modified: .idea/inspectionProfiles/Project_Default.xml
modified: .idea/misc.xml
deleted: .idea/runConfigurations/I_Tests.xml
deleted: .idea/runConfigurations/JTestsVG.xml
deleted: .idea/runConfigurations/U_Tests.xml
deleted: .idea/runConfigurations/VG.xml
deleted: .idea/scopes/scope_settings.xml
modified: .idea/vcs.xml
Run Code Online (Sandbox Code Playgroud)
这是怎么回事?为什么删除我的运行配置和代码样式设置?为什么重命名我的项目(在.name文件中,项目重命名为与文件夹相同的名称).我不允许随意调用文件夹吗?
因此,如果我使用与repo相同的文件夹名称,则不会进行任何更改.最简单的解决方案就是顺其自然,但我想知道这是否是预期的功能,还是我应该发布一个问题?
编辑:实际上,即使使用原始文件夹名称,我也设法重现错误
| 归档时间: |
|
| 查看次数: |
333 次 |
| 最近记录: |