Questions tagged [bitbucket]

Bitbucket is a hosting site for Git and Mercurial. The service offering includes an issue tracker and wiki, as well as integration with a number of popular third-party services. Atlassian acquired bitbucket.org in 2010.

Bitbucket is a hosting site for Git repositories. The service offering includes an issue tracker, wiki and webhooks, as well as integration with a number of popular third-party services.

See also

See more

8373 questions
78
votes
9 answers

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

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…
RamBen
  • 990
  • 1
  • 9
  • 17
78
votes
8 answers

Create new repo on Bitbucket from Git Bash terminal?

Is it possible to create a new repository in Bitbucket by using command line Git? I have tried the following: git clone --bare https://username@bitbucket.org/username/new_project.git I get this message: Cloning into bare repository…
Patrick Jackson
  • 18,766
  • 22
  • 81
  • 141
77
votes
26 answers

SourceTree keeps asking for Github password

My organization is switching from Bitbucket to Github for project management. Today, I was trying to transfer our most recent project from Bitbucket to Github, by using SourceTree. I added a second remote repository to the project (using the URL of…
Abigail Fox
  • 1,623
  • 3
  • 16
  • 22
77
votes
15 answers

Bitbucket, Windows and "fatal: could not read Password for"

I recently reinstalled Windows and I have a problem with downloading files from repository. I have installed GIT and Python, but when I am trying to download anything from Bitbucket I get the message: "fatal: could not read Password for:…
sunpietro
  • 2,059
  • 4
  • 24
  • 42
77
votes
7 answers

How to import a Project into bitbucket repository from Android Studio?

So basically I have an Android Studio project on my local computer and I need to add it into my BitBucket repository I created online. I just can't get it right with Android Studio. I can't upload files from Android Studio project to my BitBucket…
Muhamed Krlić
  • 1,462
  • 2
  • 16
  • 25
77
votes
3 answers

How do I change a git commit message in Bitbucket?

I need to change an old git commit message in Bitbucket. I tried git rebase -i and reworded my message, but when I pulled and committed it just kept the old message in Bitbucket and merged my changes in.
MonkeyBonkey
  • 46,433
  • 78
  • 254
  • 460
75
votes
3 answers

Bitbucket activity graph

I would like to know if there is a solution in Bitbucket similar to Github's graphs. For example, here are the ones for Node.js: Contributions graph Commits graph I've done some research and I haven't found anything similar. Does anybody know if…
dgil
  • 2,318
  • 2
  • 23
  • 39
72
votes
31 answers

'cannot open git-upload-pack' error in Eclipse when cloning or pushing git repository

I am not able to clone or push to a git repository at Bitbucket in Eclipse: It's weird, because a day before I didn't have any problem. I have downloaded the sts 3 times with no luck. This error keeps showing. Also I have installed SourceTree and…
kiduxa
  • 3,339
  • 11
  • 37
  • 52
70
votes
4 answers

Revert a merged pull request on Bitbucket

I've created a pull request and I've merged it to an wrong branch. How can I revert it? As far I've been to figuring out taking a look over there, I'm able to hard reset the destination branch... but, how about the pull request in origin…
Jordi
  • 20,868
  • 39
  • 149
  • 333
69
votes
3 answers

When I "git push" git now says "Create pull request for ...". Why?

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 <
Mike Robinson
  • 8,490
  • 5
  • 28
  • 41
68
votes
14 answers

git submodule add error: does not have a commit checked out

I create a new git repository with the help of bitbucket called confusionmatrix. Now, I'm trying in another git repository (called workspace) add the confusionmatrix repository as submodule like this: git submodule add…
Ricardo Rocha
  • 14,612
  • 20
  • 74
  • 130
67
votes
5 answers

How to undo a merge on Bitbucket?

I've created a merge (into the 'master' branch) that's now on a Bitbucket repo. Long story short: I need to undo that merge. I know that you can do this at the Github site itself, but Bitbucket doesn't have that feature. I'm not clear on how to do…
James
  • 1,568
  • 1
  • 15
  • 25
67
votes
8 answers

Proper git workflow scheme with multiple developers working on same task

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…
Viktor Livakivskyi
  • 3,178
  • 1
  • 21
  • 33
66
votes
4 answers

How to mark an issue as resolved from the commit log?

I noted that in BitBucket when your commit log contains a number like #12 this number is linked to the bug number 12. I found this feature interesting, and I wonder if there is any keyword that would allow me to mark the issue as resolved from the…
Jader Dias
  • 88,211
  • 155
  • 421
  • 625
63
votes
15 answers

Android Studio - Push failed: fatal: Could not read from remote repository

I have a git project at Android Studio and a remote at BitBucket and I changed it to use SSH instead of HTTPS. I can make everything work using Atlassian's SourceTree, but in Android Studio every time I try to push the project it says Push failed:…
Michel Feinstein
  • 13,416
  • 16
  • 91
  • 173