Tag: bitbucket

Working with multiple repositories from different servers

I have two repositories: One in github and another on Bitbucket. I’m confused. Using git Bash how may I select which remote repository I want to work with ? Is there an easy way to switch between them ? ( I already have my project on remote server). Update I could ‘add’ two repositories with […]

Bitbucket pull/clone error

I am getting the following errors when trying to setup a repo. remote: Counting objects: 516, done. remote: Compressing objects: 100% (382/382), done. error: RPC failed; result=18, HTTP code = 200 51.00 KiB/s fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed

Keep getting 'Partial Merge Commit' Dialog

I am trying to commit some changed files. There are several, but I only want to commit a few from a specific folder. Everytime I attempt to commit, I get a Dialog box with a popup that says Partial Merge Commit. It also has the message Partial commit during a merge is not allowed. The […]

How I can pull the new code from bitbucket?

I am new at coding. My team has sent a “pull request” to my bitbucket repository to merge their code. I merged the code to the master branch and I ran git pull on my local machine. After that, I checked my code and the git repository in my local device is still the same. […]

All lines removed from file and all lines added to file in commit

I’m looking at a commit (in Bitbucket) and for a given file which is, let’s say, 100 lines I see that there are 100 lines removed, and 100 lines added. The content of the lines removed and the lines added are identical down to the indentation and spacing. Under what circumstances can what I just […]

How to trigger build using Job-DSL

How to trigger build when push is done on BitBucket, using Job-DSL? I think it is something like that, but with BitBucket, not GitHub… triggers{ githubPush() } I am also looking for a “pull” behavior, with Jenkins looking every N minutes if there is someting new on BitBucket.

Bitbucket git repository printed strange colored flower after push. WTH?

This question already has an answer here: Atlassian “logo” after pushing to bitbucket 4 answers

Git: How to find uncommitted changes so far?

Here is the situation I ran into: When I tried to git pull, I found my collaborator had committed some changes, hence got the following error message. error: Your local changes to the following files would be overwritten by merge: template.tex Please, commit your changes or stash them before you can merge. Aborting So I […]

Can't push feature branch in git, doesn't exist in remote?

I created a feature branch off of develop. It looks like this: Previously when I made a feature branch, it also showed up on the remote, but now it’s not present. Now, when I try to push in SourceTree, I get the following error: To https://myname-mycompany@bitbucket.org/mycompany/projectname.git ! [remote rejected] feature/data_utilities -> feature/data_utilities (failed to write) […]

What's the use of Pull Request? And how to use Bitbucket properly?

I’ve used BitBucket before but only solo for my own personal projects. I know the basics (the very basic I must say), but for solo developer only. And even then, I did it via Source Tree, not the console. So it’s a lot easier for me. My usual workflow is like this: code->commit->code->commit->tag->push(if a feature […]

Git Baby is a git and github fan, let's start git clone.