不能用ungit创build仓库

安装ungit之后,我试着用模拟文件夹(testungit)来testing它。

我使用了ungit CLI,然后我有这个页面。

在这里输入图像描述

我想有这个页面来创build一个存储库。

在这里输入图像描述

在这个安装过程中,我有这些线:

npm WARN engine forever-monitor@1.1.0: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.29","npm":"1.4.14"}) > typechecker@2.0.8 preinstall /usr/local/lib/node_modules/ungit/node_modules/getmac/node_modules/extract-opts/node_modules/typechecker > node ./cyclic.js npm WARN engine hawk@0.10.2: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.29","npm":"1.4.14"}) npm WARN engine boom@0.3.8: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.29","npm":"1.4.14"}) npm WARN engine hoek@0.7.6: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.29","npm":"1.4.14"}) npm WARN engine cryptiles@0.1.3: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.29","npm":"1.4.14"}) npm WARN engine sntp@0.1.4: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.29","npm":"1.4.14"}) npm WARN engine hawk@0.10.2: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.29","npm":"1.4.14"}) npm WARN engine hoek@0.7.6: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.29","npm":"1.4.14"}) npm WARN engine boom@0.3.8: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.29","npm":"1.4.14"}) npm WARN engine sntp@0.1.4: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.29","npm":"1.4.14"}) npm WARN engine cryptiles@0.1.3: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.29","npm":"1.4.14"}) 

那是问题吗 ?

我不知道是否需要在.ungitrc中更改某些内容

在你的testungit文件夹中,你可以input:

 git rev-parse --git-dir # or even cd "$(git rev-parse --show-toplevel)" 

如果在其中一个父文件夹中定义了一个git repo,那么它将会为你提供该repo的实际根文件夹(如“ 是否有一种方法可以在一个命令中获取git根目录? ”)。