" Github.com" go包没有显示在Bitbucket的远程存储库中

时间:2015-03-01 22:02:10

标签: go bitbucket

当我将我的go代码推送到我的远程bitbucket存储库时,我没有在github.com包文件夹中看到我的文件,而是我看到了这个(这是我的bitbucket存储库的屏幕截图,我期望找到我的去文件): enter image description here

我使用此命令将我的代码推送到我的远程存储库中:

git add .
git commit -m "message"
git push -u origin master

当我登录我的Bitbucket帐户时,我希望在“drakecheckin / src / github.com / coopernurse”目录中看到我的go文件。但是我没有看到我的go文件,而是看到一个箭头指向一堆字符+数字。

1 个答案:

答案 0 :(得分:1)

Go get将github存储库克隆到gopath的相应文件夹中。你在BitBucket中看到的是一个子模块。如果您要将文件夹检入版本控制,则可以将该文件夹视为子树。