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
521
votes
35 answers

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

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…
Farrukh Chishti
  • 7,652
  • 10
  • 36
  • 60
441
votes
12 answers

Bitbucket git credentials if signed up with Google

I have an account on bitbucket.org that I created by signing up with my Google account. Now everytime I log in I just click "Log in with Google" and that's fine. How can I access my repos from git command line? It requests me username and password.…
Alex
  • 6,849
  • 6
  • 19
  • 36
408
votes
5 answers

How to markdown nested list items in Bitbucket?

I'm trying to see my markdown nested list items rendered with corresponding indentation when viewed in a browser live from the Bitbucket pages. But I can't figure out how it works even when using their examples (updated): * Item 1 * Item 2 * Item 3 …
Jeff Puckett
  • 37,464
  • 17
  • 118
  • 167
408
votes
12 answers

Start ssh-agent on login

I have a site as a remote Git repo pulling from Bitbucket.com using an SSH alias. I can manually start the ssh-agent on my server but I have to do this every time I login via SSH. I manually start the ssh-agent: eval ssh-agent $SHELL Then I add the…
Pathsofdesign
  • 4,678
  • 5
  • 18
  • 26
364
votes
12 answers

How can I move a Git repository with all branches from Bitbucket to GitHub?

What is the best way to move a Git repository with all branches and full history from Bitbucket to GitHub? Is there a script or a list of commands I have to use?
swalkner
  • 16,679
  • 31
  • 123
  • 210
303
votes
17 answers

Repository access denied. access via a deployment key is read-only

After successfully cloning my repo from heroku and added another remote 1/ git clone git@heroku.com:[APP].git 2/ git remote add bitbucket ssh://git@bitbucket.org/[ACCOUNT]/[REPO].git 3/ git push bitbucket master I am still getting this error after…
zabumba
  • 12,172
  • 16
  • 72
  • 129
299
votes
34 answers

git push hangs after Total line

My git push is hanging after appearing to complete the push. I am going git push Counting objects: 51, done. Delta compression using up to 2 threads. Compressing objects: 100% (47/47), done. Writing objects: 100% (47/47), 27.64 MiB | 6.47 MiB/s,…
Patrick Jackson
  • 18,766
  • 22
  • 81
  • 141
281
votes
8 answers

BitBucket - download source as ZIP

I know I can get the project through git clone command, but is there any way, how to download the project through the web interface from BitBucket.org? In the best way, I am looking for a way to download a project source as ZIP compress file.
user984621
  • 46,344
  • 73
  • 224
  • 412
268
votes
21 answers

Error "Updates were rejected because the remote contains work that you do not have locally"

I'm working on a team with a few developers using Git on Bitbucket. We are all working on a dev branch, not pushing to master until a release. One of the developers committed incorrect code that overwrote my own by accident, and now I am trying to…
thanos
  • 3,203
  • 4
  • 18
  • 27
261
votes
33 answers

Can't push to remote branch, cannot be resolved to branch

I migrated my repos from Bitbucket or Github. I don't think this matters but it's the only thing different. For a little while, I had two remotes set up: origin: bitbucket github: github Then I removed both and pointed origin to github: git remote…
jleach
  • 7,410
  • 3
  • 33
  • 60
260
votes
13 answers

How to access full source of old commit in BitBucket?

I can't figure out or find the documentation on how to access the source of an old commit in the new Bit Bucket format. Is this even possible anymore?
Ser Pounce
  • 14,196
  • 18
  • 84
  • 169
242
votes
17 answers

Git on Bitbucket: Always asked for password, even after uploading my public SSH key

I uploaded my ~/.ssh/id_rsa.pub to Bitbucket's SSH keys as explained, but Git still asks me for my password at every operation (such as git pull). Did I miss something? It is a private repository (fork of another person's private repository) and I…
Nicolas Raoul
  • 58,567
  • 58
  • 222
  • 373
227
votes
10 answers

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

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…
MarathonStudios
  • 2,849
  • 4
  • 20
  • 18
184
votes
29 answers

Change remote repository credentials (authentication) on Intellij IDEA 14

I recently changed my Bitbucket password for security reasons. However, IntelliJ didn't update my repository to the new credentials, so it stops me from pulling/pushing anything to my repository. I am not using any plugins for this, just the…
Momo
  • 3,542
  • 4
  • 21
  • 34
183
votes
23 answers

Cannot push to Git repository on Bitbucket

I created a new repository and I'm running into a strange error. I've used Git before on Bitbucket but I just reformatted and now I can't seem to get Git to work. After doing a commit, I had to add my email and name to the globals, but then it…
Jason Dahl
  • 1,939
  • 2
  • 13
  • 6
1
2 3
99 100