bitbucket

How can i connect openshift git repository to bitbucket

允我心安 提交于 2019-12-11 13:42:53
问题 I've created a project on Red Hat openshift now i want to know about how can i connect it with my bit-bucket account to maintain and handle my openshift Project with bit-bucket 回答1: Clone your current repo to your computer, git clone {{ ssh:source_code }} The source code URL is available in the app console (under source code) ex: git clone ssh://555065b53433ca08f100001b@appname-domain.rhcloud.com/~/git/example.git/ log in to bitbucket, create a new repo, with type as git . navigate your

git push failing for certain branch names

萝らか妹 提交于 2019-12-11 13:09:32
问题 In our company, it is not uncommon to branch features out using our names. So if we are on master and want to branch a new feature, we would create john/feature-test or bob/feature-test2 . This has worked great until recently one of our teammates lost the ability to push anything onto our origin. She can create other branches just fine, but if the branch starts with mira/... then it fails like this: $ git push -f Counting objects: 2, done. Delta compression using up to 4 threads. Compressing

SourceTree considers pulled files as uncommitted changes

回眸只為那壹抹淺笑 提交于 2019-12-11 12:21:28
问题 In some unknown cases when I pull using SourceTree, it consider all pulled files as uncommitted changes and won't allow to pull/push any more unless re-commit or discard those changes. If I discard uncommitted files, it will discard all the changes have been applied by my team-mate. What's wrong with that? Is there a known bug or whatever? 回答1: Not too sure if this is the issue but it sounds similar. When you pull, SourceTree pops up with a box. In this box there is a select box that reads.

BitBucket get list of all contributors

岁酱吖の 提交于 2019-12-11 11:55:02
问题 Is there a way using the BitBucket API to get a list of all commiters/contributors to a repository? I know I can user git-shortlog for this purpose but would rather make an API call if possible. 回答1: No, we do not currently have that kind of data indexed, or available through the API. 来源: https://stackoverflow.com/questions/34472966/bitbucket-get-list-of-all-contributors

For bitbucket, what is the difference between having a team work on a repo and having a personal repo that everyone on the team works on?

风格不统一 提交于 2019-12-11 11:47:13
问题 I am porting a project that was originally only worked on by me to bitbucket so that someone else may help me. We do not want this to be an open source project and it should only be the two of us working on it. The question is whether I make it a personal repo and then invite him to it or whether I make a team that the two of us are on and then have a repo for the team. Is there a difference between the two approaches? Any benefits to either one? 回答1: No, don't have any difference between the

Jenkins, Mercurial, Bitbucket and SSH not working

痴心易碎 提交于 2019-12-11 11:41:50
问题 I'm trying to set up Jenkins to pull from a bitbucket repo (on Windows Server 2008). I've generated a key, uploaded it to bitbucket, configured Mercurial to use Plink, am running Pageant, and can clone from the command line. When I set up the Jenkins job, it tries to clone the repo but just hangs with the "working" icon in the console output Building in workspace <workspace> $ hg clone --rev default --noupdate ssh://hg@bitbucket.org/user/repo <workspace> <spinning working icon> If I clone the

Satis, Bitbucket and SSH

混江龙づ霸主 提交于 2019-12-11 11:14:26
问题 I've setup a Satis repository on one of our remote servers allowing access to our private packages hosted on Bitbucket. I've created an SSH key pair on that server and added the public key to our Bitbucket user. Building Satis works just fine this way. Now, when I want to do a composer install on any remote server hosting an app, I don't have the right permissions unless I create a key pair on that server and also add its public key to Bitbucket. I don't want to do this for every project

How can I check if pull is needed using libgit2 in c++? [closed]

China☆狼群 提交于 2019-12-11 09:29:48
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago . I want to check if I have the latest version of program. I have my program shared to bitbucket.org , and I want my c++ code to write me if I need to pull the latest version, or I already have the latest version. 回答1: First, you have to fetch to get the state of the remote tracking

Backup a local working directory on BitBucket - clone or push

送分小仙女□ 提交于 2019-12-11 09:16:04
问题 I am very new to version control, so my questions are very basic. I am trying to use Mercurial for the purpose. I have a local working directory on my mac. I want to use Bitbucket to backup the files and the repository in this directory. Will the following command: hg push localDirectoryWithRepo http://bitbucker.org/user_name/repo_on_bitbucket transfer my files also to Bitbucket, or only the repository? Also, I tried the command: hg clone localDirectoryWithRepo http://bitbucker.org/user_name

Same code different git files, merging with keeping history

亡梦爱人 提交于 2019-12-11 09:07:44
问题 There was an existing bitbucket repo A with over 200 commits. I downloaded the code (without .git files). Created new repo B with all the existing code added in first commit. Then 150 more commits on repo B. repo A has no new commits, I worked on repo B only. Now the requirement is a Single repo with all the code and history (if possible) or Repo B changes as a single entry in history. A third repo C will be fine coz dont want to risk A and B. 回答1: If I understood you correctly, you currently