bitbucket

Git not able to recognise addition of .xcscheme files in xcode project

给你一囗甜甜゛ 提交于 2020-07-05 07:18:18
问题 Added a new scheme corresponding to a test target in my xcode project. The new xcscheme file created is not getting reflected in git. Also doing a git status shows me nothing to commit, working directory clean . Trying to add it through terminal by git add .xcscheme says The following paths are ignored by one of your .gitignore files: MyProject.xcodeproj/xcshareddata/xcschemes/MyProjectTests.xcscheme Use -f if you really want to add them On verifying my .gitignore file, its completely blank.

How to import gitlab repository to bitbucket Repository

余生长醉 提交于 2020-07-04 06:27:26
问题 I have a gitlab Repository and I want it to update it on the bitbucket account. Please provide me steps to follow, so that it can be helpful to me to migrate it in bitbucket from Gitlab. 回答1: Follow these steps: Create a new repo in bitbucket. git clone <gitlabRepoUrl> cd <repoName> git remote add bitbucket <bitbucketRepoUrl> git push bitbucket master 回答2: 1) Create the repository in Bitbucket using the UI 2) Clone the Gitlab repository using the "--bare" option git clone --bare GITLAB-URL 3)

Move git repo with git clone --mirror and git push --mirror

你离开我真会死。 提交于 2020-06-26 08:49:09
问题 I have to move a couple of repos from Gitlab to Bitbucket and discovered that the easiest way to do it seems to be: Create new empty repository in Bitbucket git clone --mirror git@gitlab.com:path/to/repo.git cd repo.git git remote set-url origin git@bitbucket.org:path/to/repo.git git push --mirror This seems to copy the entire repo including tags, all branches etc. and I haven't discovered any disadvantages of this method yet. However, as I haven't seen this method anywhere on the internet, I

How to Merge two different Git repositories?

喜夏-厌秋 提交于 2020-06-26 06:13:11
问题 I have two Github repositories. One repository is on the remote server and another on the local server. Both of them have different commit histories of different files and folders. Now I wanted to merge both of them so that I can have both of them on the remote server as one single repository. Please help! I have looked for various solutions suggesting as: reset the head of the local repository and then pull the remote repository on the same directory but it doesn't seem to be working: git

Jenkins “Error 403 No valid crumb was included in the request”

≡放荡痞女 提交于 2020-06-26 04:14:33
问题 I am trying to trigger a Jenkins build by post request from my Windows computer, using the following commands. First, I obtain the crumb using... curl http://JENKINS-URL/crumbIssuer/api/xml?xpath=//crumb The response is this... <crumb>string-of-digits<\crumb> I then use the command curl -u USERNAME:PASSWORD -X POST -H "Jenkins-Crumb:string-of-digits" http://JENKINS-URL/job/my-job/buildWithParameters?token=my-token The username is correct, the password is correct, the crumb is exactly the

Git Permission denied (publickey)

丶灬走出姿态 提交于 2020-06-25 18:01:16
问题 I already have created the ssh key to my network drive. Only issue is that when network drive is not accessible then my git pull/push not worked due to no ssh key found. So I decided to add new key to my windows drive. I added the the new ssh key but when I pull/push code I received below error Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Then I run below command 1) $ eval `ssh-agent

GIT: change commit date to author date

扶醉桌前 提交于 2020-06-23 21:24:18
问题 Is it possible to change the commit date from my commit to the author date? I adapted some commits and now the dates are all the same. I want to set it back to the old dates (or the author dates). Is this possible? I am using Sourcetree so I have the git command line but I am not a pro at that. My external repository is bitbucket. 回答1: Since git 1.6.3 git rebase has --committer-date-is-author-date for this purpose. git rebase --committer-date-is-author-date Original answer: There's no easy

GIT: change commit date to author date

大憨熊 提交于 2020-06-23 21:23:43
问题 Is it possible to change the commit date from my commit to the author date? I adapted some commits and now the dates are all the same. I want to set it back to the old dates (or the author dates). Is this possible? I am using Sourcetree so I have the git command line but I am not a pro at that. My external repository is bitbucket. 回答1: Since git 1.6.3 git rebase has --committer-date-is-author-date for this purpose. git rebase --committer-date-is-author-date Original answer: There's no easy

Bitbucket Merge Issue from one merge to other

独自空忆成欢 提交于 2020-06-01 07:39:25
问题 I am trying to merge Branch A to Branch B. I am getting this error while merging. An internal error occurred during: "Merging with refs/remotes/origin/A". 42f867168a17511f28d351c314aeb80f735a6f78 exceeds size limit Branch A commit contains EAR file that is large in size. May be this could be issue. I tried to ignore this file. But still same issue. Thanks in advance. 来源: https://stackoverflow.com/questions/61575792/bitbucket-merge-issue-from-one-merge-to-other

Testcontainer issue with Bitbucket pipelines

三世轮回 提交于 2020-06-01 05:25:46
问题 I configured bitbucket-pipelines.yml and used image: gradle:6.3.0-jdk11 . My project built on Java11 and Gradle 6.3. Everything was Ok till starting test cases. Because I used Testontainers to test the application. Bitbucket could not start up the Testcontainer. The error is: org.testcontainers.containers.ContainerLaunchException: Container startup failed How can be fixed the issue? 回答1: If used Testcontainers inside the Bitbucket pipelines, There might be some issues. For instance, some