所以我对 bitBucket 很陌生。我希望得到一个非常简单的简单答案。
我有一个包含所有代码/项目文件的文件夹。
我设置了一个存储库。
现在,我如何连接两者?我在网上看,但每个人都显示不同的步骤。我没有写任何命令行。我的第一次初始推送从头到尾的命令行是什么?
所以,我已经成功设置了一个 Bitbucket 存储库并提交了多个版本并通过 Android Studio 创建了多个分支。现在,我想清理不再需要的提交和分支。另外,我想通过 android studio 而不是命令行来做到这一点。我可以在 Bitbucket 和 Android Studio 版本控制窗口 (alt-9) 中看到我的所有版本/分支。
我做了很多研究来完成这个看似简单的任务,但结果却是空洞的。我需要在 Android Studio 中执行“删除”操作吗?在比斗?两个都?如何?我可能会尝试通过反复试验来做到这一点,但可以理解的是不想搞砸并删除必要的版本。所以,我正在向你寻求指导。
我在尝试在 GIT 上推送项目时遇到以下问题。
推送它我收到此错误消息:
$ git push origin master
To https://bitbucket.org/MyAccount/my-project.git
! [rejected] master -> master (fetch first)
error: failed to push some refs to 'https://MyAccount@bitbucket.org/MyAccount/my-projec.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: 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 …Run Code Online (Sandbox Code Playgroud) 我尝试使用 jenkins execute shell(而不是 git 插件)制作我的 bitbucket 存储库的克隆(镜像)。
我的凭据:
username
passwd
Run Code Online (Sandbox Code Playgroud)
保存在一个变量中:myuser
凭据是正确的。我们使用了这个插件来保存凭据。我们对其他一些存储库(在我们的本地 git 上,而不是 bitbucket 上)所做的完全相同,并且运行良好。
现在我尝试:
git clone --mirror https://${myuser}@bitbucket.org/team/repo.git
Run Code Online (Sandbox Code Playgroud)
我面临的错误是:
fatal: unable to access 'https://****@bitbucket.org/team/repo.git/': Port number ended with 'T'
Run Code Online (Sandbox Code Playgroud) 我尝试通过终端更改 BitBucket 用户名,但想通过 Android Studio 更改它。VCS 或版本控制中是否有可用的选项来更改它?
这是我的例子:
我想将用户名“Laxmi”更改为“Nikhil”。
我刚刚在大学完成了一个学期,并决定将我所有的项目从 bitbucket(我的课程所需)导入到 github(我所有其他项目所在的位置)。我成功导入了它们。不幸的是,在我从事这些项目的时候,我正在三台不同的计算机之间切换。
因此,提交历史记录有许多不同的名称,这些名称都是我自己做的。我想在bitbucket中设置一个“别名”,说“这三个人也是我”。这可能吗?我怎样才能做到这一点?
我最近在 jenkins(Jenkins ver. 2.113)中安装了 bit bucket 插件(Version-1.1.8)。我通过提供 url http://ipaddress:port/bitbucket-hook/为 Bitbucket 服务器上的项目配置了 Jenkins webhook 。当我尝试保存时,我不断收到错误无效的 url。我不确定为什么位桶不接受 IP 地址。我认为这可能是由于 ipaddress 没有被公开。
请帮忙。
仅供参考:IP 地址是静态的,并且没有为服务器配置 DNS。
ssh: connect to host bitbucket.org port 22: Connection timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Run Code Online (Sandbox Code Playgroud)
我的防火墙被禁用,我仍然连接超时。我该怎么办?
我已经为 aws 架构创建了 terraform 脚本,其中包括 ec2 实例和 ec2 上的 jenkins。我是 jenkins 的新手,并试图弄清楚如何使用现有的 terraform 脚本将它与 bitbucket 集成。任何帮助将不胜感激。
bitbucket amazon-web-services jenkins terraform terraform-provider-aws
我有以下复选框代码,
### Pre-requisites
- [ ] You should have done the Verilog parsign of all the files (../parse_verilog/)
- [ ] You should have generated CDFGs for all the modules (../gen_cdfg/)
Run Code Online (Sandbox Code Playgroud)
它出现在 Bitbucket 中,如下所示(使用项目符号而不是复选框) 
可能是什么原因?
更新(2020 年 7 月 2 日) 如果 Bitbucket 启用此功能,请在下方发表评论。