bitbucket

When I “git push” git now says “Create pull request for …”. Why?

旧巷老猫 提交于 2019-11-28 18:06:50
I am making changes to a project in a branch that, so far, is known to no one else but me. However, starting recently, when I git push to this project, I now receive this as part of the response: remote: Create pull request for <<my branch>>: remote: https://bitbucket.org/... I have no idea why Git is giving me this message, which I have never seen before. Even if I delete the remote branch (with " git push origin :<<my branch>> " I now still get this message! (I successfully deleted the branch on the remote, but the message remains) Note: These messages can be disabled now. See Jake's answer

'Go Get' Private Repo from Bitbucket

拈花ヽ惹草 提交于 2019-11-28 17:31:07
So basically, I have an Openshift Project that on Git push, downloads all libraries with 'Go get' and builds the project on-the-fly and so, I have some code I don't want people to see from my own library, and for it to compile properly, the code needs to be taken from github.com or another repo, so I created a private bitbucket.org repo, now, as a public repo it works fine, but when I try to 'Go Get' from my private repo, it gives me 'Forbidden 403' How can I avoid this occurency? Thank you for reading and have a nice day! go get uses git internally. The following one liners will make git and

Bitbucket: Send a pull request via command line?

◇◆丶佛笑我妖孽 提交于 2019-11-28 16:49:41
I have to send a lot of pull requests, so I would rather use the bash command line than bitbucket's web interface. Usage example: $ git-req username Here is such a script for Github: http://pastebin.com/F9n3nPuu Is there one for Bitbucket? s3m3n Bitbucket with it's RESTful API 2.0 supports managing pull requests without interface. In CLI you can request it with CURL. This older version of the documentation has better interface details. Get pull request data with CURL To get full data about specific pull request: $ curl --user s3m3n:bbpassword https://bitbucket.org/api/2.0/repositories/s3m3n

Authentication failed to bitbucket

烈酒焚心 提交于 2019-11-28 16:37:16
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 can do this ? Thank you. If you got authentication issues with the GIT console you can try your auth

Your configuration specifies to merge with the <branch name> from the remote, but no such ref was fetched.?

亡梦爱人 提交于 2019-11-28 16:33:36
问题 I am getting this error for pull: Your configuration specifies to merge with the ref 'refs/heads/feature/Sprint4/ABC-123-Branch' from the remote, but no such ref was fetched. This error is not coming for any other branch. The special thing about this branch is that it is created from the previous commit of another branch. My config file looks like: [core] repositoryformatversion = 0 filemode = false bare = false logallrefupdates = true symlinks = false ignorecase = true hideDotFiles =

How to maintain multiple bitbucket accounts with multiple ssh keys in the same system

时光毁灭记忆、已成空白 提交于 2019-11-28 16:05:49
问题 I have multiple Git accounts one is my personal use and one is for company use. Both accounts source need to be activated from my laptop. Here I generated two ssh keys like id_rsa.pub,id_benwork_rsa.pub and I configured the config of git as Host sfsworkdid HostName bitbucket.org IdentityFile ~/.ssh/id_rsa Host workdid HostName bitbucket.org IdentityFile ~/.ssh/id_benwork_rsa So here is my problem: while pushing to any repo git asking the first ssh_key passphrase. Everytime I am changing the

Bitbucket: Update a fork to merge changes of master repo?

与世无争的帅哥 提交于 2019-11-28 15:45:33
问题 I am working with a bitbucket git repo I have read-only access to, so I created a fork to work on my features. Question: How do I update my fork to include changes made to the original repo made by the owner? On github, it seems one has to do the following, so I suspect it's a similar to this: $ git remote add upstream git://github.com/octocat/Spoon-Knife.git $ git fetch upstream $ git merge upstream/master I couldn't find any information on this in the Bitbucket Documentation for forking 回答1

Clear git repository on Bitbucket?

谁都会走 提交于 2019-11-28 15:43:37
问题 I'm just getting started with git, and started messing about with Bitbucket. However, I now want to use the repository I created, but without its initial history. Is there any way I can clear out or purge my repository so that I can start from scratch? I'm not too bothered about any of the content, so can I just delete the repository, then create a new one with the same name? 回答1: No need to delete it. From your new local repo, simply: git push --force -u origin master That will replace the

Bitbucket fails to authenticate on git pull

拥有回忆 提交于 2019-11-28 15:30:30
I use BitBucket and had to change my password because it was compromised. git pull remote: Invalid username or password. If you log in via a third party service you must ensure you have an account password set in your account profile. fatal: Authentication failed for ' https://bitbucket.org/myusername/myproject.git/ ' How can I change my password using command line? software is fun You need to reset the password as shown below. On macOS: git config --global credential.helper osxkeychain On Windows 10: git config --global credential.helper store After executing this, it prompts you for the user

Git clone / pull continually freezing at “Store key in cache?”

雨燕双飞 提交于 2019-11-28 15:24:16
I'm attempting to clone a repo from my BitBucket account to my Windows 10 laptop (running GitBash). I've completed all of the steps necessary to connect (set up my SSH key, verified by successfully SSHing git@bitbucket.org, etc). However, whenever I attempt to clone a repo, the prompt continually hangs up after confirming that I want to cache Bitbucket's key. User@Laptop MINGW64 /C/Repos $ git clone git@bitbucket.org:mygbid/test.git Cloning into 'test'... The server's host key is not cached in the registry. You have no guarantee that the server is the computer you think it is. The server's