bitbucket

Easiest way to rename git project configured on BitBucket

ぐ巨炮叔叔 提交于 2019-12-04 08:47:14
问题 I have a project hosted on BitBucket Can I rename it ? If not and I need to create a new repository can someone tell me the easiest way to do that and have new repo on BitBucket (one particular cause of confusion for me is whether to drive the process locally or from the bitbucket website) Update Thankyou Rafal I've followed your instructions and it works great but Im just going to make it a little clearer for noobies like myself (on linux) In Bitbucket project settings rename project vi

Is it possible to Git merge / push using Jenkins pipeline

本秂侑毒 提交于 2019-12-04 08:28:44
问题 I am trying to create a Jenkins workflow using a Jenkinsfile. All I want it to do is monitor the 'develop' branch for changes. When a change occurs, I want it to git tag and merge to master. I am using the GitSCM Step but the only thing that it appears to support is git clone. I don't want to have to shell out to do the tag / merge but I see no way around it. Does anyone know if this is possible? I am using BitBucket (on-prem) for my Git server. 回答1: It is not possible at the moment because

Is there a way to not have Bitbucket ask for my password every time when doing remote Mercurial operations?

社会主义新天地 提交于 2019-12-04 08:13:19
问题 With all other Mercurial repos that I push to, I can set my username and password in my hgrc (actually, Mercurial.ini since I'm using Windows) for doing operations at a particular domain, and Mercurial won't prompt me for auth info. However, even with these settings in place, Bitbucket always asks for my password. My settings are as follows: [auth] bitbucket.prefix = bitbucket.org bitbucket.username = myusername bitbucket.password = mypassword As I said, these settings work for all other

bitbucket, “hg push” and “hg update”

这一生的挚爱 提交于 2019-12-04 08:01:06
问题 If I start out with a local mercurial repo, which I consider to be the "main" repo (pardon me my dvcs lords), and intend to use bitbucket as a backup and issue tracking facility, I can do all my changes in my local repo and do an "hg push" to send the changes back to bitbucket. Don't I need to follow this "hg push" command run on my local machine with an "hg update"? 回答1: Why do you care what's in the working directory on BitBucket's servers? As long as you push the changes will be in the

How to share a bit bucket repository with another user?

血红的双手。 提交于 2019-12-04 07:57:26
问题 I am using Bit bucket and I have a friend that I would like to share my repository with. I am using the free individual account. There seems to be an option of creating a team in bit bucket but it says it will convert my account from individual to team account. I do not want that. How can I give another user access to this repository? 回答1: There is an option of share link, if you click on that, a popup will be appeared on that you can give your friends username or his email to share the

Configuring composer.json with private Bitbucket Mercurial repository

有些话、适合烂在心里 提交于 2019-12-04 07:34:44
My project uses my own library which is in the private Mercurial repository placed on bitbucket.org. That library has no composer.json configured. I try to make that library as a dependency to my project. Firstly I wrote to composer.json the following strings: { "require": { "php": ">=5.4", "myname/mylibname": "dev" }, "repositories":[ { "type": "hg", "url" : "https://bitbucket.org/myname/mylibname" } ] } And running composer install I've got an error: [RuntimeException] Failed to clone https://bitbucket.org/myname/mylibname , could not read packages from it abort: http authorization required

Pushing to a remote branch (failed to update ref)

狂风中的少年 提交于 2019-12-04 07:33:56
I have a remote repository with a feature/initital-change branch. Now I want to push some files to this remote branch from my local feature/initital-change branch. I went through a few posts on pushing to remote branches and tried out a few methods but I am still getting the same error. After adding and committing, I get the following for git status. Sakibs-MacBook-Pro:BluFireLabs SakibArRahman$ git status On branch feature/initial-change Your branch is ahead of 'origin/feature/initial-change' by 1 commit. (use "git push" to publish your local commits) nothing to commit, working directory

Git .git/info/refs not valid: is this a git repository?

独自空忆成欢 提交于 2019-12-04 06:44:16
问题 I'm getting a strange problem in my CentOS server. My repositories are hosted on Bitbucket, and they were working fine until yesterday. Here is the problem. I get the following error when I try to push or pull from my CentOS terminal. fatal: https://[url]/[repo-name].git/info/refs not valid: is this a git repository? I can manage the same repositories using SourceTree on my Windows computer without a problem. But I need to be able to manage them using the terminal as well. How do I get over

Bitbucket入门手册

时光总嘲笑我的痴心妄想 提交于 2019-12-04 05:39:10
老大要我去调研一下有什么好用的免费软件版本管理工具,有利于小团队开发的。我第一个想到的就是git,经常在git下东西,听说它的代码仓库好用,于是就注册了一个github的账号,创建仓库的时候才发现只能创建开源项目,私有仓库要收费,于是就在网站上问了很多人,发现很多人都是用bitbucket管理项目,它提供5人无限制的私有仓库,这个太诱惑了,所以花了一下午整了一下,尝试了一下,发现确实好用。老大说要整理一个简单易懂,没有学习成本的文档,我就写了这个,手把手操作指南 Bitbucket 使用说明: 使用者请直接看第一步,第二步和 egit 使用说明, 需要自己创建仓库的可以看三四步 第一步:新用户注册 bitbucket.org 然后按步骤创建一个教程代码库 可以选择下载SourceTree 和 git SourceTree 是一个客户端,图形界面,挺方便的 主界面有个教程,挺详细的,可以看看 第二步:设置中文 点右上角的小人图标,然后点击“Manage account” 在 Account settings 里最下面有个选项, Language ,改成 Chinese 第三步:创建仓库 创建完可以用SourceTree 复制代码进去,点击用 SourceTree 克隆 会弹出这个窗口,可以更改目标路径(必须是空文件夹,不存在的最好) 里面现在是空的,点击在文件管理器中打开

史上最详细bitbucket入门手册,手把手操作指南

丶灬走出姿态 提交于 2019-12-04 05:39:01
老大要我去调研一下有什么好用的免费软件版本管理工具,有利于小团队开发的。我第一个想到的就是git,经常在git下东西,听说它的代码仓库好用,于是就注册了一个github的账号,创建仓库的时候才发现只能创建开源项目,私有仓库要收费,于是就在网站上问了很多人,发现很多人都是用bitbucket管理项目,它提供5人无限制的私有仓库,这个太诱惑了,所以花了一下午整了一下,尝试了一下,发现确实好用。老大说要整理一个简单易懂,没有学习成本的文档,我就写了这个,手把手操作指南 Bitbucket 使用说明: 使用者请直接看第一步,第二步和 egit 使用说明, 需要自己创建仓库的可以看三四步 第一步:新用户注册 bitbucket.org 然后按步骤创建一个教程代码库 可以选择下载SourceTree 和 git SourceTree 是一个客户端,图形界面,挺方便的 主界面有个教程,挺详细的,可以看看 第二步:设置中文 点右上角的小人图标,然后点击“Manage account” 在 Account settings 里最下面有个选项, Language ,改成 Chinese 第三步:创建仓库 创建完可以用SourceTree 复制代码进去,点击用 SourceTree 克隆 会弹出这个窗口,可以更改目标路径(必须是空文件夹,不存在的最好) 里面现在是空的,点击在文件管理器中打开