bitbucket

How to change the main branch in BitBucket?

那年仲夏 提交于 2021-02-06 14:47:20
问题 I have a repo on bitbucket with two branches. First branch is master with a fake content, then I have another one called trunk with the correct content. I would like to change the main branch to trunk (actually is master). I found that in the repo adminsitration are on bitbucket web I could change this but I couldn't. Finally I would like to understand if is possible to do this through terminal from my local repo. Maybe an easy thing is to delete contents from master and merge trunk into

The remote end hung up unexpectedly while Git push with large files

旧街凉风 提交于 2021-02-06 11:50:11
问题 When I try to push to my bitbucket repo, I get the following error. (In fact its the same in GitHub as well). Counting objects: 48, done. Delta compression using up to 2 threads. Compressing objects: 100% (38/38), done. Writing objects: 100% (48/48), 1.95 MiB | 38 KiB/s, done. Total 48 (delta 9), reused 0 (delta 0) fatal: The remote end hung up unexpectedly error: RPC failed; result=56, HTTP code = 0 fatal: recursion detected in die handler Everything up-to-date Mostly I get another error

The remote end hung up unexpectedly while Git push with large files

一曲冷凌霜 提交于 2021-02-06 11:49:28
问题 When I try to push to my bitbucket repo, I get the following error. (In fact its the same in GitHub as well). Counting objects: 48, done. Delta compression using up to 2 threads. Compressing objects: 100% (38/38), done. Writing objects: 100% (48/48), 1.95 MiB | 38 KiB/s, done. Total 48 (delta 9), reused 0 (delta 0) fatal: The remote end hung up unexpectedly error: RPC failed; result=56, HTTP code = 0 fatal: recursion detected in die handler Everything up-to-date Mostly I get another error

Installing pip is not working in bitbucket CI

江枫思渺然 提交于 2021-01-29 22:14:31
问题 I am starting to make a app using bitbucket CI and i am using the following steps to deploy the application and the steps to install pip is failing. script: - apt-get update - apt-get install -y python-dev - curl -O https://bootstrap.pypa.io/get-pip.py - python get-pip.py ... and a few more steps Dont know why but python get-pip.py step fails with the following error. Traceback (most recent call last): File "get-pip.py", line 24226, in <module> main() File "get-pip.py", line 199, in main

Integration between Bitbucket and Azure DevOps

只愿长相守 提交于 2021-01-29 12:57:20
问题 My requirement is I want to integrate my Bitbucket repo with the Azure DevOps CI server so that as soon as I push code in the bitbucket repo my pipeline should trigger in the Azure DevOps CI server for that I have created a webhook in the Bitbucket repo. I have added the Azure DevOps CI server URL in the URL section and added secret in a secret section of the webhook of Bitbucket. the secret is personal access token generated in Azure DevOps Server. But while creating a webhook I am getting

One folder is missing in git and pushed as a file

穿精又带淫゛_ 提交于 2021-01-29 08:23:34
问题 I have tried many things to push my project from intellij to Bitbucket. I have to insert two screenshots to explain what is the problem: everything is pushed fine, but the folder "frontend" is pushed as a file. I did force push, and tried to delete the repo and retry, but nothing works. Any idea what I am doing wrong? 回答1: That icon, and the hash ID next to it, imply that what you have is not a file at all. (And, Git doesn't store folders, so it's not a folder either.) What it is, is what Git

Bitbucket reduce repo size with BFG

时光怂恿深爱的人放手 提交于 2021-01-29 03:34:07
问题 My team's repo on Bitbucket was 1.34GB due to some static assets (videos, images) I've followed instructions from BFG Repo Cleaner and my repo is now 2.37GB which is over our 2GB quota and it is now read only. The commands I've run were pretty much what's on the BFG Homepage, git clone --mirror git://example.com/some-big-repo.git java -jar bfg-1.13.0.jar --strip-blobs-bigger-than 100M some-big-repo.git cd some-big-repo.git git reflog expire --expire=now --all && git gc --prune=now -

How to get build status updated in Bitbucket from Azure Pipeline?

谁说我不能喝 提交于 2021-01-29 01:39:15
问题 I am using Azure Pipeline to build and run test for iOS code. Those steps works fine. How to display the build status in bitbucket? I could find a script: #!/usr/bin/env python import os import requests # Use environment variables that your CI server provides to the key, name, # and url parameters, as well as commit hash. (The values below are used by # Jenkins.) data = { 'key': os.getenv('BUILD_ID'), 'state': 'SUCCESSFUL', # or 'FAILED' for a script that runs when the build fails 'name': os

Pipelines and git-ftp dirt repository error

一世执手 提交于 2021-01-28 09:22:19
问题 I am trying to use Pipelines with git-ftp to push files to my remote server. Error message: fatal: Dirty repository: Having uncommitted changes. Exiting... YML file: image: php:7.1.1 pipelines: default: - step: caches: - composer script: - apt-get update && apt-get install -y unzip - curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer - composer install - apt-get -qq install git-ftp - git ftp init --user USER --passwd PASSWORD ftp://user

Azure Devops trigger pipeline with pushing tags from Bitbucket

久未见 提交于 2021-01-28 06:52:36
问题 I am using BitBucket for my project and would like to know whether or not pushing tags can trigger pipeline from BitBucket. All the tutorials I saw are using Github. If anyone successfully did that with BitBucket, can you please give some advice? Thanks a lot Here is my configuration of pipeline (following the discussion in https://developercommunity.visualstudio.com/content/problem/656727/build-pipeline-trigger-from-git-tag-is-not-working.html) trying to trigger with tag push trigger: tags: