【发布时间】:2013-12-03 15:01:03
【问题描述】:
我刚刚在 Ubuntu 上安装了 git,现在我想在 BitBucket 中处理我的 repo。我对如何做到这一点有点困惑。我不能执行以下操作:
git remote add BitBucketRepo git@bitbucket.org:dir/file.git
因为它返回以下错误:
fatal: Not a git repository (or any of the parent directories): .git
它显然指向一个 git repo,那为什么要骗我呢?
另外,值得注意的是,我正在使用 SSH,并且我已成功将我的 GitHub 帐户与我的计算机配对。
【问题讨论】:
标签: linux git github bitbucket git-remote