一个未在bitbucket中上传的文件夹

时间:2019-03-15 05:21:36

标签: bitbucket

我在使用Bitbucket时遇到了一些问题。我的所有项目文件夹和文件均已上传,但src文件夹除外。我计算机中的src文件夹包含文件和文件夹。但是它没有出现在bitbucket中。为什么src文件夹在bitbucket中显示为这样?

我输入命令:

git init
git add .
git commit -m "initial commit of full repository"
git remote add origin
https://boidurja@bitbucket.org/boidurja/kapstone.git

我得到这个错误:

F:\BOP consultancy and services\vuetify project\kapstoneui>git remote add 
origin
 https://boidurja@bitbucket.org/boidurja/kapstone.git
fatal: remote origin already exists.

然后输入以下命令:

git push -u origin --all

我得到这个错误:

F:\BOP consultancy and services\vuetify project\kapstoneui>git push -u 
origin --all
To https://bitbucket.org/boidurja2/kapstone.git
 ! [rejected]        master -> master (fetch first)
error: failed to push some refs to 
'https://boidurja2@bitbucket.org/boidurja2/kapstone.git'
hint: Updates were rejected because the remote contains work that you do not have locally. This is usually caused by another repository pushing to the same ref. You may want to first integrate the remote changes hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

有人可以帮忙吗?

0 个答案:

没有答案