bitbucket

Bitbucket submodules wont delete

本秂侑毒 提交于 2019-12-10 12:15:55
问题 I accidentally pushed a couple folders to bitbucket that had .git folders in them because I cloned them using git clone. I can't click these folders or go into them in bitbucket what do I do to get rid of those I already used: rm -rf .git for those two .git folders then: git reset --hard ^HEAD git push git commit -a -m "Message" git push I also have tried setting the commit back one but that didn't work either. there are no submodule files for these I've also moved the folders from there

Forking an existing GitHub repo to Bitbucket

妖精的绣舞 提交于 2019-12-10 12:07:18
问题 I am having difficulty trying to fork my existing GitHub repo to Bitbucket. I used the terminal to use the git remote add like it stated on the directions but it kept on reporting fatal: the remote origin already exists . Also when I try to push it, nothing happens. I've looked at the answers on here to change the name, but I have been with using the GitHub link, and nothing happens. I don't know if I properly called my fork remote origin and the original repo upstream. Has anyone else had a

Ansible bitbucket clone provisioning ssh error

谁说胖子不能爱 提交于 2019-12-10 11:36:50
问题 In summary, When provisioning my vagrant box using Ansible, I get thrown a mysterious error when trying to clone my bitbucket private repo using ssh. The error states that the "Host key verification failed". Yet if I vagrant ssh and then run the ' git clone ' command, the private repo is successfully cloned. This indicates that the ssh forward agent is indeed working and the vagrant box can access my private key associated with the bitbucket repo. I have been struggling for two days on this

View commits that make changes to subfolder

99封情书 提交于 2019-12-10 11:33:59
问题 Assume a repo called drivers which contain sub-folders, eg., ath , b43 , p54 , etc. Without subtreeing (creating new repo), is it possible to view commits that applies to a specific sub-folder, eg., view all commits that made changes to ath sub-folder. 回答1: You should be able to specify the folder with git log: git log -- ath From the man page: [\--] <path>… Show only commits that are enough to explain how the files that match the specified paths came to be. (See Historization Simplication)

HTTP Error 502: Bad Gateway when pushing to bitbucket

帅比萌擦擦* 提交于 2019-12-10 11:04:31
问题 I have a mercurial repository, when I try to push my changes to bitbucket I suddenly get the error HTTP Error 502: Bad Gateway after a long moment of wait (searching changes..) Any idea? this has had me stumped for two days! 回答1: Some people report similar issues when trying to push big changesets using the HTTP protocol. Try using SSH instead. You can find instructions for Bitbucket here. 来源: https://stackoverflow.com/questions/11847857/http-error-502-bad-gateway-when-pushing-to-bitbucket

bitbucket-build-status-notifier plugin for jenkins reports wrong status

送分小仙女□ 提交于 2019-12-10 10:31:16
问题 Jenkins should notify bitbucket if a job that is linked to a branch has passed or falied, and it does: But for some reason, in the branch view, it doesn't notify about the result of the last build, and says it failed even if the last build has passed: How do I make it reffer to the result of the last build only? Thanks! 回答1: Today it was released a new version of the plugin for jenkins bitbucket-build-status-notifier which allows exactly what you need to avoid the problem you describe. It's

No issue tracker button in bitbucket?

霸气de小男生 提交于 2019-12-10 10:25:28
问题 I'm trying to set up issue tracking on a bitbucket private repository, but there isn't a button to manage/add issues. In this tutorial from atlassian, it clearly shows the issues and wiki buttons, however this must have been before they created pipelines because that button isn't there either. Here's what my sidebar looks like: The last blog post I found on their blog relating to issue tracking was about a UI update for managing issues. In the blog post announcing the release of pipelines

How to move branch from one repository to another branch of different repository

你离开我真会死。 提交于 2019-12-10 10:18:09
问题 I created a new Repository (named repoN) with the existing one (named repoE), simply by copying code from the branch (named B22). After that, I created a new branch in repoN (named BR01). Now I made some changes in the branch (named BR01) which exist in repoN repository. I just want to take all those changes into the old repository repoE without loosing history of BR01 into B22. I am using SourceTree because I'm new in Git and don't know much commands. 回答1: At first you need to add to git

Using BitBucket's API to fork a repository

。_饼干妹妹 提交于 2019-12-10 10:03:08
问题 There's any way to fork a repository using BB's API? From what I've read on the API's docs, there isn't any explicit one: https://confluence.atlassian.com/display/BITBUCKET/Repositories My idea is to create a new repo and point that it's a fork of another one, so I can create pull requests later. 回答1: You can use the API to fork a repository, either using Basic authorization or OAuth. The method to fork a repository: Using a authorized POST-request with required post data "name". https:/

Continuous deployment with Bitbucket on Azure not working

a 夏天 提交于 2019-12-10 09:41:57
问题 I set up git continuous deployment with bitbucket on my Azure website according to this blogpost I go through all steps without any problems but when I git push to bitbucket no Azure deployment happens... If I push to my azure git url, deployment works as usual. Anybody else that have had this problem? Thanks! 回答1: Yesterday we deployed to bitbucket.org a change to send the Authorization header with our POST service that may have broken our integration with Windows Azure. I've rolled back the