bitbucket

Bitbucket Pull Not working suddenly

心不动则不痛 提交于 2019-12-12 04:31:29
问题 When tried to pull the repo today, it say below error, but last several months it was working. Have tried with Bitbucket website, but no info about it. Is anyone in facing the same? Is Atalassian provided any work around for it? sudo git pull Password for 'https://stutzen@bitbucket.org': remote: Repositories on team accounts can only be accessed through a team member. Using a team password is not allowed. 回答1: This is due to changes in Bitbucket: https://blog.bitbucket.org/2014/01/14

Why all my Xcode commits to Bitbucket show other user 'Author Name' on Bitbucket?

此生再无相见时 提交于 2019-12-12 03:57:55
问题 When I commit and push code to bitbucket, my bitbucket show some other Author name. I used : ~ mymac$ git config --global user.name "Myfirstname lastname" :~ mymac$ git config --global user.email "myemail@abcd.com" :~ mymac$ git config user.name "myusername" :~ mymac$ git config user.email "myemail@abcd.com" :~ mymac$ cat .git/config: Above command show right email and password. But this will only work if I commit from terminal commands. However, in my case I am committing code directly from

Can a new file be created in Git with an existing file already on local machine

感情迁移 提交于 2019-12-12 03:52:58
问题 I can creat a new file in Git with the echo command: echo > newFile.txt After the file is created, i just usually navigate to the file directory from file explorer, update it with my codes and save it. It works okay. The questiion is: If i already have a file containig all my codes in a workspace on my local machine, is there a way to tell Git to create a new file using that existing file instead of manually going to edit the new Git file? I think maybe it's possible to specify the existinng

Bitbucket API bad request while trying to merge

你说的曾经没有我的故事 提交于 2019-12-12 02:06:38
问题 This is my code: $url = "https://bitbucket.org/api/2.0/repositories/***/***/pullrequests/35/merge"; $curl1 = curl_init(); curl_setopt($curl1, CURLOPT_HTTPAUTH, CURLAUTH_BASIC ); curl_setopt($curl1, CURLOPT_USERPWD, "***:***"); curl_setopt($curl1, CURLOPT_HEADER, true); curl_setopt($curl1, CURLOPT_HTTPHEADER, array('Content-Type: application/json')); curl_setopt($curl1, CURLOPT_RETURNTRANSFER, true); curl_setopt($curl1, CURLOPT_URL, $url); curl_setopt($curl1, CURLOPT_RETURNTRANSFER, true);

SSL error between jenkins(java) and Bitbucket Plugin

北城以北 提交于 2019-12-12 01:46:10
问题 I`m using CentOS 6.5 in AWS. java version "1.7.0_101" OpenJDK Runtime Environment (rhel-2.6.6.4.el6_8-x86_64 u101-b00) OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode) Using Jenkins 2.15(new installation) and last version of Bitbucket Branch Source Plugin I start Branch Indexing with my login data for Bitbucket but get these errors: Connecting to https://bitbucket.org using ****/****** Looking up ****/****for branches FATAL: Failed to recompute children of ***** » **** » build com

cd: /path/to/my/repo: No such file or directory

我与影子孤独终老i 提交于 2019-12-12 00:13:48
问题 I am trying to push my hello_app to my bitbucket repository. I have an existing project and have trouble following these steps: cd /path/to/my/repo git remote add origin git@bitbucket.org:Bob123/hello_app.git git push -u origin --all git push -u origin --tags When I cd /path/to/my/repo in my shell in cloud9, I get this error: cd: /path/to/my/repo: No such file or directory 回答1: I don't know if the people with the problem resolved it, but here is how I fixed this problem. Using this tutorial:

Bitbucket groovy conditional script

半腔热情 提交于 2019-12-11 18:06:29
问题 Team - I like to enable one condition to restrict pull request in bitbucket. Condition - The feature branch should always merge into develop and pre-prod branch before raise pull request to release. If condition fails then it shouldn't allow user to raise pull request. We are new to bitbucket and groovy. Hence, like to know where and how can we achieve this task using script runner in bitbucket. Appreciate any help. Thanks 来源: https://stackoverflow.com/questions/54788007/bitbucket-groovy

How to remove all remote branch files and freshly commit local files?

做~自己de王妃 提交于 2019-12-11 17:18:11
问题 I messed something up with git. I have a remote develop branch in bitbucket that I want to remove all files from and then to commit/push files freshly from the local repository. How can I do that? I can't remove and recreate branch itself. 回答1: If your local environment is good, you can git push --force origin develop , it serves this very purpose. 来源: https://stackoverflow.com/questions/54430204/how-to-remove-all-remote-branch-files-and-freshly-commit-local-files

How to configure a local branch to permanently track a differently named remote branch in git

岁酱吖の 提交于 2019-12-11 15:48:27
问题 This seems like a really basic operation, but I haven't been able to find a conclusive answer to it. I often locally create a new branch like this: git checkout -b new_feature Then later, I create a remote branch through something like bitbucket or gitlab and want to link my local branch to that newly created remote. I know i can push to that remote via: git push origin new_feature:bitbucket_branch_name But I find this tedious and wonder if there's a more elegant solution to this, eg. set the

Xcode crashes when working with repository

女生的网名这么多〃 提交于 2019-12-11 13:49:50
问题 I have an Xcode project one local and one remote repository. Firstly, there was a problem in current version and I decided to change local repository's head using terminal. Xcode fetched everything and I continued working on the project. When I decided to commit changes, Xcode gave me an error like this: "error: src refspec (detached from ) does not match any.error: failed to push some refs to [repository address]". After, I decided to create a new remote repository and try to make initial