bitbucket

can't push/pull from mercurial repository - abort: error: An existing connection was forcibly closed by the remote host

空扰寡人 提交于 2019-12-18 05:18:11
问题 I am planning to use mercurial for a new project but I'm having some problem accessing the bitbucket repository. I'm new to mercurial, but I have used git previously. I get the following error when peforing a hg clone or push: abort: error: An existing connection was forcibly closed by the remote host I only have this problem when using my work pc, when accessing the repository from my home pc I can clone and push just fine, any ideas, is there some firewall setting that needs to be

Is it possible to trigger Jenkins from one specific branch only?

僤鯓⒐⒋嵵緔 提交于 2019-12-18 04:09:33
问题 My situation is the following: I have three branches in a repo: master, dev and staging. And I have one job for each one of these branches, configured in 'Branches to build' section in Jenkins. origin/master, origin/dev, origin/staging. Bitbucket triggers the job to build whenever there are changes to the repository via a repository hook .(https://confluence.atlassian.com/display/BITBUCKET/Jenkins+hook+management). However, when I push to master, all jobs starts to build, and the same with

Cannot push, pull or merge git. “Working copy has uncommited changes”

半城伤御伤魂 提交于 2019-12-17 22:43:41
问题 I have recently set up a git repository on bitbucket, and have added an old project onto it. I have committed and pushed a change as a test, but now I face this problem. Each time I try to Pull, Push, or Merge I get this error message: "The working copy 'Project_Name' has uncommitted changes". And I have committed this change several times: EDIT : I did 'git status' and got the following: # On branch master # Your branch is ahead of 'origin/master' by 2 commits. # # Changes not staged for

Broken pipe when pushing to git repository

一世执手 提交于 2019-12-17 22:36:43
问题 I'm trying to push for the first time a code to my git repository but i get the following error: Counting objects: 222026, done. Compressing objects: 100% (208850/208850), done. Write failed: Broken pipe222026) error: pack-objects died of signal 13 fatal: The remote end hung up unexpectedly error: failed to push some refs to 'ssh://git@bitbucket.org/<...>' I tried to increase the http buffer size ( git config http.postBuffer 524288000 ), I tried to git repack , but it did not work. I was able

Git pull error: Your local changes to the following files would be overwritten by merge:

痴心易碎 提交于 2019-12-17 22:23:15
问题 I am trying to pull changes from remote branch but getting an error which doesn't make sense when I do git pull I get back error: Your local changes to the following files would be overwritten by merge: file/name/path some/more/filenamepath Please, commit your changes or stash them before you can merge. Aborting Problem is I have no changes that need to be committed When I do git status # On branch master # Your branch and 'origin/master' have diverged, # and have 2 and 7 different commits

Checkout bitbucket pull requests locally

霸气de小男生 提交于 2019-12-17 22:20:35
问题 I found this gist, showing how to check out a pull request locally from GitHub. I'm using bitbucket and I'm looking for a similar function. Can you help me? Thank you 回答1: One may fetch the code from Bitbucket Server's pull requests using: git fetch origin refs/pull-requests/$PR_NO/from:$LOCAL_BRANCH 回答2: I found this answer and thought that it was actually possible to fetch refs for a pull request on bitbucket. But it's not. The answer for the OP's question is that it is NOT possible : there

When I “git push” git now says “Create pull request for …”. Why?

↘锁芯ラ 提交于 2019-12-17 22:19:37
问题 I am making changes to a project in a branch that, so far, is known to no one else but me. However, starting recently, when I git push to this project, I now receive this as part of the response: remote: Create pull request for <<my branch>>: remote: https://bitbucket.org/... I have no idea why Git is giving me this message, which I have never seen before. Even if I delete the remote branch (with " git push origin :<<my branch>> " I now still get this message! (I successfully deleted the

Create new repo on Bitbucket from Git Bash terminal?

泪湿孤枕 提交于 2019-12-17 22:05:34
问题 Is it possible to create a new repository in Bitbucket by using command line Git? I have tried the following: git clone --bare https://username@bitbucket.org/username/new_project.git I get this message: Cloning into bare repository 'new_project.git'... fatal: https://username@bitbucket.org/username/new_project.git/info/refs not found: did you run git update-server-info on the server? It would be nice to do this without going to the web app. 回答1: You can use the Bitbucket REST API and cURL.

How do I push a local repo to Bitbucket using SourceTree without creating a repo on bitbucket first?

拜拜、爱过 提交于 2019-12-17 21:24:58
问题 Is there a way to import my local git repos to SourceTree and push them to my Bitbucket account, having new repos identical to my local repos be created on my account? Or do I have to make a repo online first and push to that? Github has a way to publish your local repos directly from it's client, and it creates it automatically when you publish, but it has limited private repos. I'm just doing homework so there's no reason for it to be public, hence why I'm trying to use bitbucket. 回答1:

git push hangs after Total line

若如初见. 提交于 2019-12-17 16:02:10
问题 My git push is hanging after appearing to complete the push. I am going git push Counting objects: 51, done. Delta compression using up to 2 threads. Compressing objects: 100% (47/47), done. Writing objects: 100% (47/47), 27.64 MiB | 6.47 MiB/s, done. Total 47 (delta 4), reused 0 (delta 0) It hangs here and I have to control-c to get back to command line. I have made several commits in the past with this project with now issues. I have tried other repos on my machine and they work fine. What