从GitHub客户端同步提交(错误更新子模块)

时间:2013-09-02 06:16:47

标签: git github

我在GitHub上创建了一个新的存储库,并在我的Home文件夹中创建了一个克隆。我将要上传的程序复制到GitHub,并从我输入的终端中的这个文件夹中复制:

git add .
git commit -m "Adding projects"

然后,从GitHub客户端应用程序,我进入此存储库并单击同步以进行此未同步的提交。

然后我收到此错误消息:

Error updating submodules. You may not have permission to use the repositories. Go to GitHub > Preferences to make sure you're logged in.

我已登录,并且徒劳无功地寻找答案。我唯一的怀疑是它与我以前使用不同的github帐户的方式有关,而且我的〜/ .ssh /文件夹中没有正确的RSA密钥,但我对git非常缺乏经验并且非常感谢任何帮助。

1 个答案:

答案 0 :(得分:0)

尝试并回退到命令行opening a shell from your GitHub client

git submodule update --init --recursive

您至少会看到更具描述性的错误消息。