bitbucket

How to specify version with git smart commits?

痴心易碎 提交于 2020-01-14 01:42:49
问题 I'm using BitBucket and Attlasian Jira. They are linked between each other so i can resolve an issues just with git comment: git commit -m "BUG-123 #resolve #comment My comment" My question is. Is it possible to specify fix version with smart commit feature? 回答1: According to the JIRA DVCS plugin API documentation, there are three commands you can use: #time #comment #<transition> There is no direct command to use to select the fix version, but you could likely set up a trigger or a hook in

Two web project in my solution which one to deploy

元气小坏坏 提交于 2020-01-13 19:27:30
问题 I have a solution structured like this Proj.Soln Proj.Api.csproj Proj.Web.csproj I have configured microsoft azure with bitbucket.org. When I commit through git to bitbucket, azure will pick this up and deploy my application. How do I specify that I want Proj.Web.csproj deployed and not Proj.Api.csproj? 回答1: I am not sure whether there is another method to chose the project, but are some steps to help you achieve your goal (note: this is tested and confirmed to be working): Configure the

git submodule add error: does not have a commit checked out

℡╲_俬逩灬. 提交于 2020-01-13 19:22:08
问题 I create a new git repository with the help of bitbucket called confusionmatrix . Now, I'm trying in another git repository (called workspace ) add the confusionmatrix repository as submodule like this: git submodule add https://....@bitbucket.org/..../confusionmatrix.git But I'm getting the following error: 'confusionmatrix' does not have a commit checked out I already made this with other git repositories to the same repository "workspace" and worked well. What I'm doing wrong? 回答1: If you

git submodule add error: does not have a commit checked out

拟墨画扇 提交于 2020-01-13 19:22:04
问题 I create a new git repository with the help of bitbucket called confusionmatrix . Now, I'm trying in another git repository (called workspace ) add the confusionmatrix repository as submodule like this: git submodule add https://....@bitbucket.org/..../confusionmatrix.git But I'm getting the following error: 'confusionmatrix' does not have a commit checked out I already made this with other git repositories to the same repository "workspace" and worked well. What I'm doing wrong? 回答1: If you

SmartGit Hg “Authentication Failed”

人走茶凉 提交于 2020-01-12 13:56:39
问题 Hi already used smartGit Hg a couple of months. I have already account in bitbucket which I used already couple months already also. When I created another account in bitbucket then cloned the current repository to the smartGit. When I tried to commit and pushed (ofcourse it will ask for password), it says "Authentication Failed". Please help...THanks in advance.. 回答1: SmartGit probably remember a wrong account credentials to authenticate you on BitBucket. Goto Edit menu -> Preferences ->

Can Git software (e.g. Gitbox, Github, SourceTree) use a remote repo instead of local?

烂漫一生 提交于 2020-01-12 05:40:11
问题 I like using Git software to push commits, but the ones I use (Gitbox, Github, SourceTree) all ask for a local repo when adding a new repo to them. Thing is, my repo is on my development server not my local machine. So can Git software use a remote Git repo as a development repo, then push that to your main repo (e.g. Github or Bitbucket)? Otherwise it seems you cannot use the software and have to resort to command line over SSH. Thanks 回答1: One solution, which doesn't rely on the front-end

Can't push/pull to bitbucket via SSH using IPv6

只谈情不闲聊 提交于 2020-01-12 04:47:25
问题 When I can push/pull to bitbucket: From my work computer via ssh key id_rsa_bitbucket_work From my laptop, but only when logged into VPN (Cisco AnyConnect) via ssh key id_rsa_bitbucket . My VPN has a static IP. Always using https. When I cannot push/pull to bitbucket: From my laptop anytime VPN is not connected, via ssh key ida_rsa_bitbucket . From my laptop on my work network network when not on VPN, even though I'm nominally on the same network I would be with VPN. The appropriate entry in

How to work with two different BitBucket accounts in SourceTree

你说的曾经没有我的故事 提交于 2020-01-11 16:36:20
问题 I have two different bitbucket accounts set up. One is for work projects and one is for personal use. In BitBucket I have set up a repository in each of the accounts for different projects. In SourceTree I have a few existing personal projects that are syncing up to my personal repository on SourceTree. In the left hand panel I can see my "Develop" branch for one of those personal projects and on the remote in BitBucket I can see the remote repo. In SourceTree I don't see an obvious way to

Using Jenkins with a private BitBucket Git repository

醉酒当歌 提交于 2020-01-11 15:47:28
问题 When setting up a project in Jenkins that's hosted on bitbucket what would I put in the URL field? The repository is private. 回答1: I'm not familiar with Jenkins but Bitbucket allows you to clone git repositories over https which can accept the password as part of the url, like so: https://<user>:<pass>@bitbucket.org/<user>/<project>.git 回答2: For this purpose I switched over to using the SSH protocol to talk to BitBucket. By doing this I was able to set up a private/public key pair, with the

Should I keep my Git folder outside Dropbox?

泄露秘密 提交于 2020-01-10 08:53:33
问题 So far I've managed my code by keeping it inside my Dropbox folder and nothing more. Lately my code has been growing in size and complexity and I'm wondering if it wouldn't be better to set up a GitHub or Bitbucket account to manage it more efficiently. I know there are already dozens of questions here regarding all kinds of mixes between Git and Dropbox; this is precisely what got me confused. Some say it's a great idea while others say it's a terrible idea. I just want to know: if I decide