如何将项目从本地计算机导入到位桶中已创建的存储库中

时间:2017-09-04 11:13:31

标签: bitbucket

想要将ParseParcel .NET项目从我的本地计算机导入位桶中的现有创建存储库(交易Me / Tech Tests / parseparcel),我已经完成了https://confluence.atlassian.com/bitbucketserver/importing-code-from-an-existing-project-776640909.html。但没有运气。请指导我。我已经按照以下步骤进行了操作,但得到了“ git remote add origin https://git@bitbucket.org/anu/trade我/ Tech Tests / parsetheparcel-rajesh-yadav.git用法:git remote add [] -f,--fetch fetch remote branches - -tags在获取时导入所有标记和关联对象,或者根本不获取任何标记(--no-tags)-t, - track分支跟踪-m, - master master branch --mirror [= ]设置遥控器作为镜子推送或取自“我们的帮助非常受欢迎。

1 个答案:

答案 0 :(得分:0)

在bitbucket中创建一个新的repo - >复制提供的https链接。

在项目文件夹中打开git bash - >按照这些命令

  1. git init
  2. git add --all
  3. git commit -m" Initial Commit"
  4. git remote add origin https://username@your.bitbucket.domain:7999/yourproject/repo.git - 在此处复制链接
  5. git push -u origin master