bitbucket

How to manage multiple ssh keys in the ~/.ssh directory

ぐ巨炮叔叔 提交于 2019-11-28 00:15:11
I'm sure we all get this error from time to time: $ git push origin master Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. The typical remedy is to simply create a public/private key pair and share it with your git host (in my case bitbucket, with their instructions ) The thing is though, I have many accounts that require that I have a public/private key pair (for example i need to save a key to connect to AWS.. etc).. so what I do is that i create these keys and save them in separate

POST hook on Bitbucket

て烟熏妆下的殇ゞ 提交于 2019-11-27 23:40:01
问题 How to use the POST url in bitbucket on private Jenkins? I have been experiencing problems with bitbucket and their post commit. Description : http://username:password@myjenkins.instance/job/myproject/build?token=mytoken I have a jenkins instance I would like to trigger on push on certain repositories. Since the jenkins is accessible from the outside (the world wide web), it is protected through the typical user/password system. When working with Github, I can define the usename and password

Failed to connect to bitbucket.org port 443: Network is unreachable

馋奶兔 提交于 2019-11-27 20:37:35
I am getting issue while pushing code. git push origin master fatal: unable to access 'https://xxxxxxxxxx@bitbucket.org/xxxxxx/xxxxxx.git/': Failed to connect to bitbucket.org port 443: Network is unreachable How to avoid that error message? TLDR; Try first git push -4 origin master There are issues reporting current problems to access bitbucket through https ( issue 13060 , issue 12184 ) The usual answer is: "Failed to connect" errors could be anything from DNS issues to local network problems to ISPs that are incompletely routing Bitbucket traffic. Unfortunately, there isn't enough detail in

Authentication failed to bitbucket

点点圈 提交于 2019-11-27 19:52:22
问题 I'm trying to push my project via the https protocol on bitbucket using sourcetree. But I can't connect to bitbucket with my login and password (which work on the website), I have a fatal error : "Authentication failed". I read on other posts I can work around the problem using the ssh protocol instead of the https one, so I set up a ssh key following instructions on the source tree faq. But now I don't know how I can change to the ssh protocol when I want to push my code. Someone know how I

Whats the Proper usage of .gitattributes with merge=ours

Deadly 提交于 2019-11-27 17:53:18
问题 I just tried using .gitattributes for the first time. I figure I must be doing something wrong because it is not working as I thought the purpose of using the merge=ours attribute was intended for (?). An example of my usage: I have two branches; one is the "master" and the other is "GCE-Site". There are files on the "GCE-Site" branch that have different settings that also exists on the "master" branch that I do not want merging into the "master" [or other branches]. On both branches, I have

Download private BitBucket repository zip file using http authentication

廉价感情. 提交于 2019-11-27 17:44:08
I'm writing a script to easily deploy an application. The code for the application is stored in a private BitBucket repository. I'd like to be able to download a zip file of the commit. I've tried authenticating with the following code: https://user:pass@bitbucket.org/user/repo/get/commit.zip However, instead of accomplishing the task it redirects to the login page on BitBucket. Personally, I didn't want to put my password into my script to accomplish this. So the trick was to run the following command, after adding your public key to your bitbucket account: git archive --remote=ssh://git

Proper git workflow scheme with multiple developers working on same task

怎甘沉沦 提交于 2019-11-27 17:20:29
I'm a team leader in our web development company, and I'd like to implement Git workflow in our team. Reading documentation and articles I've found the following structure good for us: We have a repository in a Bitbucket. Master branch is considered to contain stable code only. Every dev must create his own branch and implement features/bugfixes in his own branch. Once he decides, that his code is ready, he creates a nice branch history (using rebase, amend, cherry-pick etc.) and pushes it to Bitbucket, where creates a pull request to master branch. QA verifies functionality and approves (or

Using subrepositories with bitbucket

牧云@^-^@ 提交于 2019-11-27 16:50:32
问题 I have encountered this error when trying to push a subrepository to bitbucket: D:\Work\agile.crm.framework>hg push warning: bitbucket.org certificate with fingerprint 81:2b:08:90:dc:d3:71:ee:e0:7 c:b4:75:ce:9b:6c:48:94:56:a1:fe not verified (check hostfingerprints or web.cace rts config setting) http authorization required realm: Bitbucket.org HTTP user: the_drow password: warning: bitbucket.org certificate with fingerprint 81:2b:08:90:dc:d3:71:ee:e0:7 c:b4:75:ce:9b:6c:48:94:56:a1:fe not

How do I setup Carthage to use my own Frameworks that are in private repository like Stash (Bitbucket)?

两盒软妹~` 提交于 2019-11-27 14:47:34
问题 I was wondering if there is something like private pods in Carthage , I have a couple of frameworks and I'm currently using git submodules , I started using Carthage for a new project and is pretty nice but so far I just configured it to manage third party Frameworks dependencies. I've checked the carthage documentation but is not that clear on how to set it up. Does Carthage work only with Github repos? Can it work with Atlassian-Stash (now Bitbucket )? If so how? 回答1: So I finally found out

BitBucket: Host key authentication failed

故事扮演 提交于 2019-11-27 13:37:06
I want to clone a remote repository to my local machine. I used the command: git clone git@bitbucket.org:<username>/<repo_name>.git and I got the message: The authenticity of host 'bitbucket.org (104.192.143.3)' can't be established. RSA key fingerprint is SHA256:****. Are you sure you want to continue connecting (yes/no)? Host key verification failed. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. I just want to mention that I already took care of the ssh issues. I generated an ssh key by the command ' ssh-keygen '