bitbucket

Apply Bitbucket pull request as a patch

怎甘沉沦 提交于 2019-12-21 07:26:17
问题 I've got a repo on Bitbucket that only I have write access to. Someone forked that repo, made changes and issued a pull request to my repo from the fork. How can I get that pull request as a git patch to apply temporarily to my repo for testing purposes? The forked repo is private so I can't pull it down, and I wouldn't want to do that anyway. On GitHub you can simply go to a pull request and add a .patch to the end of the url to download the patch. This doesn't work with Bitbucket. 回答1: The

Multiple urls of git submodule - per remote submodules

爷,独闯天下 提交于 2019-12-21 07:05:02
问题 I have git repository with two remotes (github and bitbucket). Inside I have submodule, that points accordingly to another github/bitbucket repo. But in the definition of submodule is url, that is hardcoded. Can I have two of them? Or one per remote? So that my main repo on github points to submodule on github. And my main repo on Bitbucket points to submodule on bitbucket? [submodule "programs/mgr-nancy-demo"] path = programs/mgr-nancy-demo url = git@github.com:wedkarz/mgr-nancy-demo.git 回答1

GIT: `error: unable to find <commit>` and `fatal: object <commit> not found` on pull

纵然是瞬间 提交于 2019-12-21 06:29:06
问题 We have a repo in Bitbucket, which we use as a central repo: we update it via pull requests or directly by pushing changes, and we synchronize the last changes in remote servers by pulling from it. This has been working like a charm for about a year, but now we are not able to pull changes from this repo to update a remote server: $ git pull origin remote: Total 0 (delta 0), reused 0 (delta 0) error: unable to find a1354e341c6773997c31a109e615d1bf9acb0119 fatal: object

Can't see .Net Core bitbucket pipelines test results

假装没事ソ 提交于 2019-12-21 05:45:31
问题 I finally managed to make reports of my tests in bitbucket pipeline by this command: - dotnet test MyTests --logger "trx;LogFileName=test-reports/results.xml" Build Teardown says: Found matching test report file MyPath/test-reports/results.xml Finished scanning for test reports. Found 1 test report files. Merged test suites, total number tests is 0, with 0 failures and 0 errors. However, I can't see these test results file in bitbucket. I know that there should be a new tab in pipeline window

The fingerprint of this host is not registered by PuTTY?

亡梦爱人 提交于 2019-12-21 04:36:08
问题 I'm a quite beginner in using Git (cmd, and UI clients), I installed Git extensions, set up all requirements. When I tried to connect to a repository on BitBucket, private account (I used my own ppk that I have on my computer), I get this message: When I click on Yes I'm presented with a Git window: Can anyone help me get over this so I can clone repositories? 回答1: Open the command prompt or Git bash and run the following command, where the bracketed term is the username and SSH path of your

How does my git repository keep getting corrupted?

冷暖自知 提交于 2019-12-21 03:42:27
问题 I am using ubuntu 14.10 (64bit), git version 2.1.0. This is a repository that has been around for several years, and has recently started having issues. Sometimes I'll change branches, edit a file, and type git status. It will show a bunch of files as "modified" that actually haven't changed at all. If I type the following: $ git commit -am "fixed sms message" I get errors like this: error: short read No such file or directory error: globalstatic/images/console/avatar_f.gif: failed to insert

How to connect OpenShift with a private BitBucket Repository

最后都变了- 提交于 2019-12-21 03:41:13
问题 I want to host a website on OpenShift but I want my code to synchronize automatically with a "free but private" service like Git, so I found BitBucket. I tried to connect it by my self by pasting this key from my OpenShift app: ssh://530910bd5973ca01ea00007d@XXXXXXXXXX.rhcloud.com/~/git/XXXXXXXXXX.git/ into: BitBucket -> Repository -> Import Repository -> Old Repository. But I get this error: Unsupported protocol. Please use 'http://', 'https://' , 'svn://' or 'git://. I believe I have the

Deploy web project under GIT version control to shared hosting

倖福魔咒の 提交于 2019-12-20 23:30:19
问题 I am developing a wordpress theme which is under version control using Git and in a local development area ( WAMP ). I push commits to bitbucket using smartgit as a GUI. I have 2 branches, master and development. I want to deploy the development branch to a staging area ( a wordpress install on my live server). I have tried using ftploy which does achieve this; however it doesn't seem to allow me to choose which branch to deploy and I want to reserve deployment of the master branch for the

Bitbucket Pipelines - multiple branches with same steps

血红的双手。 提交于 2019-12-20 17:26:13
问题 Is it possible to combine multiple branches that have the same steps within bitbucket pipelines? ex: The teams I work on use one of two names for their review branches, either "rev" or "staging". Either way the same steps are used to publish to our review server. Right now the branches are called out separately. pipelines: branches: rev: steps: - echo 'step' staging: steps: - echo 'step' but could it be something like pipelines: branches: rev|staging: steps: - echo 'step' 回答1: A comma

BitBucket WebHook Jenkins

空扰寡人 提交于 2019-12-20 14:43:21
问题 I'd like to configure bitbutcket to trigger a jenkins build. I've spent some time researching this and all the answers are from a few years ago, and have not found any guides because things seem to have changed since. What I'm trying to do: A bitbucket push to a particular branch triggers a build. What I've got: Bitbucket web hooks which fires HTTP request to Jenkins on a push to any branch. I've also installed the Bitbucket plugin on Jenkins which adds a check box in the job config Build