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
180
votes
6 answers

Forking from GitHub to Bitbucket

I'm working on a project based on CakePHP, that's hosted on GitHub. My project is being hosted on Bitbucket. Both of them use git. Basically I'd like to create a ‘fork’ (I don't know if I'm using the right terms, since I'm new to git) of CakePHP in…
entropid
  • 6,130
  • 5
  • 32
  • 45
177
votes
12 answers

Delete branches in Bitbucket

I've created lots of branches in one of our repositories. Those branches are for testing before it will be pulled to the master. Now I see lots of them on the list and they we will never use it again. How to delete those branches directly to…
catherine
  • 22,492
  • 12
  • 61
  • 85
165
votes
16 answers

How can I solve "fatal: Invalid credentials" error when pushing to Bitbucket?

My Bitbucket password is correct because I can easily log in with this password. When I try to push a project or file to Bitbucket it shows "Invalid credentials error". git push -u origin master fatal: Invalid credentials Password for…
Zahidul Islam
  • 1,896
  • 2
  • 8
  • 13
143
votes
6 answers

How to write one new line in Bitbucket markdown?

Is it possible to write a new line (NOT a paragraph) in the Bitbucket markdown? Two new lines in the source creates one new paragraph. I only want a new line. And I don't want to use a code block.
Gabriel Petrovay
  • 20,476
  • 22
  • 97
  • 168
139
votes
36 answers

Authentication failed to bitbucket

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…
Julien Navarre
  • 7,653
  • 3
  • 42
  • 69
137
votes
12 answers

How to compare two revisions in Bitbucket?

My team is using Bitbucket for our git repository and we've recently starting using the pull request functionality for code reviews. It works fine on the first review, but if it goes through multiple iterations (that is, changes are made and pull…
brian.keng
  • 1,931
  • 2
  • 15
  • 11
136
votes
5 answers

Visual Studio 2013 and BitBucket

Visual Studio 2013 apparently has some nice slick Git integration. However, after an hour of head-scratching with absolutely nothing making even the slightest bit of sense, I've only been able to create a local repository and despite cloning a…
Dean Chalk
  • 20,076
  • 6
  • 59
  • 90
135
votes
11 answers

How do I push a local repo to Bitbucket using SourceTree without creating a repo on bitbucket first?

Is there a way to import my local git repos to SourceTree and push them to my Bitbucket account, having new repos identical to my local repos be created on my account? Or do I have to make a repo online first and push to that? Github has a way to…
cma0014
  • 1,517
  • 3
  • 11
  • 9
133
votes
4 answers

How to avoid merge-commit hell on GitHub/BitBucket

We're ending up with a lot of commits like this in our repo: Merge branch 'master' of bitbucket.org:user/repo This happens every time a developer syncs his/hers local fork to the top-level repo. Is there anyway to avoid this merge-commit hell from…
Niklas9
  • 8,816
  • 8
  • 37
  • 60
132
votes
1 answer

Atlassian "logo" after pushing to bitbucket

Having pushed to bitbucket I got this "image". What is this?
esp
  • 7,314
  • 6
  • 49
  • 79
132
votes
39 answers

Execution failed app:processDebugResources Android Studio

I'm using bitbucket so I can work with other developer but it seems that we can't get it to work flawlessly. I got this error after pulling the changes from him: Execution failed for task ':app:processDebugResources'. >…
dgzz
  • 2,929
  • 6
  • 34
  • 56
128
votes
10 answers

Delete last commit in bitbucket

I made a mistake and I don't know how to delete my latest push in the repository. I pull the latest updates of the app but it has conflicts and I push it to repository. How to delete my last commit? Or how to fix it?
catherine
  • 22,492
  • 12
  • 61
  • 85
123
votes
6 answers

How much space can your BitBucket account have?

I created a BitBucket account today, and I love the fact that they allow you to have unlimited public/private repositories. However, I didn't find the size limit of your account? Does anyone know where to find it?
Geo
  • 93,257
  • 117
  • 344
  • 520
122
votes
6 answers

How to restrict access to the master branch in Git

I have a single repository in which I have two user groups: Administrators HTML/UI Developers I do not wish to give read/write access of my master branch to my HTML developers as they do not need to work on it and should not be misusing the core…
Harshit Agrawal
  • 1,415
  • 2
  • 10
  • 10
121
votes
1 answer

How do I update my forked repo using SourceTree?

I am using SourceTree (with BitBucket) to manage my code. I have forked a repo, and the parent repo has been updated. How do I use SourceTree to merge the upstream code into my forked repo?
Aaron Brager
  • 65,323
  • 19
  • 161
  • 287