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
3
votes
0 answers

Use privately hosted build agent to pull source code in Azure DevOps

I want to be able to restrict access to our bitbucket repos, but without having to update the list every Wednesday (Microsoft releases a list of IPs every week which you need to feed into your bitbucket settings in order to whitelist your builds).…
NealR
  • 10,189
  • 61
  • 159
  • 299
3
votes
1 answer

Will Git LFS reduce the size of your repo?

I'm new to LFS, and am in need of a clarification. If I use LFS for data files, will it reduce the overall repo size? Or will I have to store the data files remotely? I have inherited a repo. There are several data files over 1 GB. It has exceeded…
merhoo
  • 589
  • 6
  • 18
3
votes
1 answer

How to create the pull request in Bitbucket from command line

what is the command to create a new pull request in Bitbucket. I am automating the check-in the code to Bitbucket and create pull request. I referred many documents and found the curl command. but it is also not working and I don't know the what is…
dubru
  • 142
  • 10
3
votes
1 answer

Bitbucket migrating home directory and fails to start

Today my Bitbucket instance stopped working for some reason. Stop, start and reboot only shows message Migrating home directory Without any progress. It just sits there with the progress bar without doing anything. I don't understand why it is…
onknows
  • 6,151
  • 12
  • 65
  • 109
3
votes
0 answers

Use github or other to push to another repository

In order to publish what I need, my server service gave me a git repository in which I push my files. The issue is: I can push to GitHub and BitBucket without issues from my workplace, but this server-git address is blocked. Unblocking it is not an…
angelod1as
  • 95
  • 1
  • 11
3
votes
1 answer

BitBucket: How to update a file via the API

I'm struggling to understand how to implement the following API to update files in a repo: https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Busername%7D/%7Brepo_slug%7D/src#post GitLab and GitHub have a simple api -…
Dominic
  • 62,658
  • 20
  • 139
  • 163
3
votes
1 answer

BitBucket API: How to get a list of branches from a repository UUID

BitBucket API so far has been an interesting experience, let's say. We have sometimes very brief generated docs across various URLs with bits of functionality peppered between bitbucket.org/rest/api/1.0, api.bitbucket.org/2.0 etc and a way to get a…
Dominic
  • 62,658
  • 20
  • 139
  • 163
3
votes
0 answers

Bitbucket/Github hide git branch from users

I would like to hide the branch if user has not permission to work on it. Is it possible to do using bitbucket or github? I know that we do can prevent user to commit changes to a specific branch, but in my case I would like to prevent user even to…
Lucas Santos
  • 2,991
  • 3
  • 19
  • 29
3
votes
0 answers

BitBucket pipelines hangs when trying to install apk when running connectedAndroidTest

At the moment I am trying to use Bitbucket Pipelines to run tests for our app. However when it is attempting to install the apk into the emulator, the pipeline hangs/freeze at this line: execute: running pm install -r -t -d -t…
Noobnewbier
  • 149
  • 1
  • 14
3
votes
1 answer

How to structure more than one function on git for automated deploy on Google Cloud Functions?

I'm start using the Google Cloud Functions and I've see that has an option to make an automated deploy from the bitbucket. I have multiple functions to deploy, should I have one repo per functions or can I have one repo but divided by directories or…
3
votes
0 answers

Git Mirroring created unwanted PR refs on target repository

I have a periodic git synchronization script that runs from bit bucket cloud to our local git repository. In the nutshell it does the following: git clone --mirror ssh://source.git git show-ref | cut -d ' ' -f2 | grep 'pull-request' | xargs -r -L1…
Dzerlig
  • 247
  • 2
  • 10
3
votes
1 answer

How to make a Bitbucket POST webhook to TeamCity?

I've already serched and struggled on this argument... without success. Setup: Bitbucket Cloud Local TeamCity server and agents The problem is the following: run build with webhooks and not with polling. TeamCity side, for trig a build there are…
Andrea Franchini
  • 548
  • 4
  • 14
3
votes
1 answer

How to publish an angular library in bitbucket

I created an Angular Library by running: ng new my-library-lib cd my-library-lib ng generate library my-library This creates an Angular application and within it a folder called "projects" with the library code: Application code: - projects --…
Alavaros
  • 1,665
  • 7
  • 32
  • 52
3
votes
1 answer

integrate jenkins on terraform with bitbucket

I have created terraform script for aws architecture which includes ec2 instance and jenkins on ec2. I am new to jenkins and trying to figure how to integrate it with bitbucket using the existing terraform script. Any help would be greatly…
3
votes
1 answer

git push and pull over http hangs on Windows, no errors

As the title says when I attempt to git push it simply hangs. This is on Windows 10 with existing repos and some new ones I created specifically for testing this. I've also tried two different hosts (i.e. github and bitbucket). My public repos on…
Nathan
  • 435
  • 4
  • 16