bitbucket

Git asks for password for each commit and pull

烂漫一生 提交于 2019-12-05 04:23:41
问题 I am using Visual Studio 2012 with Git extension. I am using bit-bucket for storing project. Each and every time - whenever I want to either push or pull Git ask me for account password in windows 8. Thanks. 回答1: You can use gitcredentials and tell it to remember your password for some time git config --global credential.helper "cache --timeout=time_in_seconds" for example if you want it to remember for the next day it would be 60 * 60 * 24 = 86400 seconds, so the command would look like git

Could not resolve host: bitbucket.org; nodename nor servname provided, or not known

谁说胖子不能爱 提交于 2019-12-05 04:17:00
This error comes up every time I try clone any repo from Bitbucket using terminal: $ git clone https://me@bitbucket.org/me/myrepo.git Cloning into 'blog'... fatal: unable to access 'https://me@bitbucket.org/me/myrepo.git': Could not resolve host: bitbucket.org; nodename nor servname provided, or not known I had the same problem with GitHub resolved by replacing 'http' with 'git' protocol which was great! But when I tried that on Bitbucket I got this: git clone git://me@bitbucket.org/me/myrepo.git Cloning into 'blog'... fatal: Unable to look up me@bitbucket.org (port 9418) (nodename nor

Bitbucket symbol (arrow) meaning

谁说胖子不能爱 提交于 2019-12-05 04:13:00
问题 What does the arrow mean? I'm not new to git or bitbucket but I think I may have messed something up in my inital commit and I need help to resolve this. The folder in my local repo is not empty, but pulling it down to another location the folder is. Is it a link? Not on my local repo. The folder is a part of the vendor-folder (as shown) and the silex-app was installed through composer. This would be solved if I had control over the webserver but I don't - it's on a hosting web site. Any and

Build Bamboo from Bitbucket, Deploy to Azure Cloud

江枫思渺然 提交于 2019-12-05 03:29:41
问题 I'm looking for a solution using all Atlassian products similar to Visual Studio Online to build and deploy a .NET web application. Basic workflow would be: Merge to Master (Git on Bitbucket) Test/Build using Bamboo Deploy to Azure Cloud (not Web Sites, not Virtual Machines) Visual Studio Online does this quite easily (hosted build controller, deploy), its all Microsoft so it works together nicely. I know Azure works with any Git repo directly, but I'm unsure how to bring the build and deploy

Can I hg clone a git repository from BitBucket?

喜你入骨 提交于 2019-12-05 03:08:49
I am trying to use a BitBucket git repository, but I personally prefer using hg. This works: git clone https://myuser@bitbucket.org/projectuser/project.git It prompts me for a password, then clones the repository as expected. However, hg does not work: hg clone https://myuser@bitbucket.org/projectuser/project.git This gives me a 404 error. I do have the hggit extension installed. If I first clone locally with git, I can then clone the git repository to an hg repository just fine - cloning off my local drive - and presumably I could push back from to the local hg repository to the local git

Can I display an Ipython notebook hosted on bitbucket?

江枫思渺然 提交于 2019-12-05 01:35:07
I have a very simple notebook, hosted on github and on bitbucket. The github URL displays fine in the nbviewer , but the bitbucket URL - which should indicate the same trivial notebook - does not work with the nbviewer. Is it possible that nbviewer only takes github notebooks? Later comment: my repo was private - so that was at least one reason why it could not work! Since this is/was the first result when googling for this, I just thought I'd update and let everyone know that this is now an add-on available in Bitbucket. You can find it under Settings -> Find Integrations. The source and

fatal: could not parse HEAD Error When Committing

半城伤御伤魂 提交于 2019-12-05 01:14:23
Whenever I try to commit my work, I get this error. fatal: could not parse HEAD What should I do if I want to preserve my changes? Do you know what branch HEAD was supposed to point to? Was it master ? Run git symbolic-ref HEAD refs/heads/master . Basically, the symbolic reference with the name HEAD is corrupted somehow. You (or software you ran) must have gone poking around the .git dir. If I were you I would check to make sure nothing else in your repo is damaged. You can verify your object database by running git fsck . Copy the new files you recently changed to another directory, delete

BitBucket+Jenkins: Trigger build only when specific branch is changed

折月煮酒 提交于 2019-12-05 01:06:43
问题 The following is a purported solution to the problem, although it does seem like a workaround rather that a definitive solution. Is there a way, through either job config or bitbucket hook config, that I can set my jobs to run a build only when a specific branch is pushed to? Is it possible to trigger Jenkins from one specific branch only? It has been about a year since the posting of that question, I'm hoping there's been some plugin updates to allow for this without the extra work required

How do i set a private ssh key for hudson / jenkins to access bitbucket?

≯℡__Kan透↙ 提交于 2019-12-05 00:50:05
I'm trying to set up a Debian server with Apache2 as a front end to Tomcat 7 running Jenkins - which is working - but i want Jenkins to monitor a private Mercurial repository hosted at bitbucket and I'd like to use SSH. (I've tried with plain https but still no joy - there is a question answer here on SO that recommends using ssh) I've deployed Jenkins using the hot deploy capability of Tomcat by dropping the Jenkins .WAR file into /webapps. I can generate a public/private key pair on the server and have added my public key to the bitbucket account - but how do I make Jenkins use my private

Mercurial to Bitbucket - Subrepository - Repository is unrelated error

自作多情 提交于 2019-12-04 23:39:43
问题 Here are the steps I've taken to build the repo and subrepos. Everything is hosted on Bitbucket. Per best practices, created a skeleton repo to hold all of the subrepos. Cloned to my machine. Cloned primary project as subrepo1 (within the mainrepo directory structure). Added primary project to mainrepo as a subrepo1. Committal of mainrepo works as expected. Pushed successfully mainrepo and subrepo1 to Bitbucket. Proceeded to clone another subrepo2 to mainrepo directory. Added subrepo2 to