bitbucket

Clone in source tree link

≡放荡痞女 提交于 2019-12-24 11:28:52
问题 On the bit bucket repositories there is a "Clone in SourceTree" link. does anybody know how this works as I would like to add it to and application im working on. Regards 回答1: Atlassian SourceTree is a free Git and Mercurial client for Mac and Windows, so it's a link to download and open the repo with their software on your computer 来源: https://stackoverflow.com/questions/28165112/clone-in-source-tree-link

Importing commit from Bitbucket to Existing Gitlab repo

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-24 10:33:25
问题 I am working on this large project and my source code is being stored on Gitlab. I gave the code to another person and they have done some major work to it and they store it on Bitbucket. Now I want to take the person's code and add it to my existing Gitlab repo (as a new commit). How can I do that? I am using Windows. Thanks Edit: You have unmeged paths. 回答1: The easiest way to this is by using the Git bash that msysgit provides. You can setup multiple origins and you can merge their

BitBucket: Authentication failed

柔情痞子 提交于 2019-12-24 08:15:04
问题 I followed this link: https://confluence.atlassian.com/bitbucket/add-an-ssh-key-to-an-account-302811853.html I generated a public key and I pasted the file ~/.ssh/id_rsa.pub to SSH Keys in BitBucket. However, I still get the error: Host key verification failed. fatal: Could not read from remote repository. Please make sure you have the correct access rights 回答1: Host key verification failed. fatal: Could not read from remote repository. This is not about client authentication, but server

gnutls_handshake() failure only via jenkins

走远了吗. 提交于 2019-12-24 08:01:10
问题 I have to interact with a GIT repository (bitbucket). If I try any clone/push/pull command via the bash it works fine. Anyway, if I try to set my clone uri in jenkins I get: fatal: unable to access 'https://myuser@bitbucket.org/myrepo.git/': gnutls_handshake() failed: Error in the push function. Why? 回答1: Jenkins is using GnuTLS to handle the TLS portion of the communication with Bitbucket (that is, the "S" in "HTTPS"). In this case, something is keeping GnuTLS from establishing the TLS

Bitbucket Build Erring after triggered from Commit

蹲街弑〆低调 提交于 2019-12-24 04:47:15
问题 I am trying to trigger builds automatically when a commit is made using the BitBucket plugin. I seem to have things setup correctly with the Web Hook and checking the box in the project to "Build when a change is pushed to BitBucket". When I commit, I am seeing a message in the BitBucket Hook Log showing the last built revision and then it shows a command > git.exe ls-remote -h {repo} # timeout=10. In the system log, it shows "Triggering BitBucket job {JobName}". However, the build never

What happens when I strip one version of a mercurial repository and try to synchronize with another one?

岁酱吖の 提交于 2019-12-24 04:44:11
问题 I know what happened to me when I did it. The synchronization was apparently successful, because no warnings were generated, but when I cloned the remote repository I saw that the synchronization didn't happen at all. I was using bitbucket as the remote repository. But I don't think this is what is supposed to happen. What is then? 回答1: When you strip a changeset from a repo, it only affects your local repository. It has no effect on others. If the changeset you stripped from the local repo

Bitbucket does not show all branches

落爺英雄遲暮 提交于 2019-12-24 04:33:15
问题 I have a repository on bitbucket that contains three branches. I'm able to list the remote branches using a good old git branch --remote command, and everything works perfectly. However, when I visit my repository using a browser, I can only see two branches. Someone please help. Bitbucket just ate my branch 回答1: The "active" filter on the Bitbucket branch screen only shows the main branch (usually named "master") and any branches that are ahead of the main branch. You can click "merged" at

Unzip file skipping folder

自闭症网瘾萝莉.ら 提交于 2019-12-24 04:16:12
问题 I am creating a php file that will update my site after pulling it off of BitBucket (Git repo). It downloads a zip file of the entire master or a commit, then unzips it in the website's folder. The problem I am having is there is a randomly named folder that contains all the files in the zip file. My zip file's contents is similar: master.php - (bitbucketusername)-(reponame)-(commitnumber) - folder1 - index.php - test.php - index.php - config.php - etc... but how can I "bypass" the "randomly"

How to use the SSH key for Bitbucket projects?

断了今生、忘了曾经 提交于 2019-12-24 04:06:30
问题 My steps to generate and use the SSH key in Bitbucket: ssh-keygen -t rsa -C "my email" cat ~/.ssh/id_rsa.pub copy my key ssh-rsa AAAAB3Nz... my email to clipboard in bitbucket access my configuration > SSH keys add the key in console of my ubuntu, I use the command: ssh -T git@bitbucket.org After using the command from step 6, the following message appears: $ ssh -T git@bitbucket.org logged in as ricardoramos. You can use git or hg to connect to Bitbucket. Shell access is disabled. When I

Git track a remote branch but push to a different branch?

人走茶凉 提交于 2019-12-24 03:32:13
问题 Lets assume I have a branch called 'my-local-changes', which is a local branch, that was created from a branch called 'some-remote-branch', which is a remote branch. Let's also assume there is a third branch called 'develop', which is the remote branch where code is pulled into from multiple branches ('some-remote-branch' is one of them, I also have a local branch called 'develop' that tracks the remote develop branch) My question is how can i set up 'my-local-changes' to track the 'develop'