bitbucket

'cannot open git-upload-pack' error in Eclipse when cloning or pushing git repository

*爱你&永不变心* 提交于 2019-11-27 06:43:31
I am not able to clone or push to a git repository at Bitbucket in Eclipse: It's weird, because a day before I didn't have any problem. I have downloaded the sts 3 times with no luck. This error keeps showing. Also I have installed SourceTree and it says 'This is not a valid source path / URL': If I use git commands to import the project, it works, but I wan't to use EGit for this task, since I am a newbie with git. I don't know if this has to do with it, but in the same directory I have the android-adt-bundle. This one works pretty well, but the project lies on GitHub and not Bitbucket. Also,

Cannot push to Git repository on Bitbucket

假如想象 提交于 2019-11-27 05:49:58
I created a new repository and I'm running into a strange error. I've used Git before on Bitbucket but I just reformatted and now I can't seem to get Git to work. After doing a commit, I had to add my email and name to the globals, but then it committed just fine. When I try to use the command git push origin master it doesn't work. I get this message: $ git push origin master Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. I'm at a loss here. My friend whom I'm sharing this repository

Bitbucket + XCode 4.2 + Git

戏子无情 提交于 2019-11-27 05:40:35
问题 I've been looking for a solution with Bitbucket and XCode. As everybody knows, XCode 4.2 comes with git support. I've created a bitbucket account and I wanted to push my changes to my repository, I've followed this tutorial https://confluence.atlassian.com/display/BITBUCKET/Use+the+SSH+protocol+with+Bitbucket However this is the problem I'm facing. When I'm in the Organizer - Repositories Section at XCode, I go to my remotes folder and create a repository. ssh://git@bitbucket.org/username

Deploying to Heroku using git on bitbucket

一笑奈何 提交于 2019-11-27 05:11:19
问题 I want to host my source on bitbucket using git because I obviously get a free private repo and I want to host my app on heroku using the source code from bitbucket. Can i do it using the github client and heroku toolbelt. Will it work? Github is great but i dont want everyone seeing my code and I dont want to pay for a private repo because its a small project. 回答1: Deploying to Heroku should work regardless of where you host your code as the Heroku CLI adds it's own git remote for the sake

Source Tree Unity project Ghost files

本小妞迷上赌 提交于 2019-11-27 04:51:33
问题 Recently changed my Gitignore which was fine until i pulled down on another machine to find some of the project was not there. So i have switched back to my old git ignore but now as soon as i open the project and go to source tree these files and folders need pushing every time. I do not edit these files and every commit they come up. Then even though i have hidden meta files selected in the settings whenever i make any change, it makes me commit a load of meta files. Any ideas to fix both

How to sync repo in bitbucket to Visual studio team service?

给你一囗甜甜゛ 提交于 2019-11-27 04:36:27
问题 I am very new to VSTS platform. In one of my project, I am trying to integrate the bitbucket source control to VSTS. By this way I should be able to see the updates made on bitbucket onto the VSTS account. I have tried creating build on VSTS, but that only shows the commits history of the selected repository of bitbucket. Is there a way to manage all the bitbucket changes on VSTS as source control? 回答1: To sync changes from bitbucket repo to VSTS git repo automatically, you can achieve it by

BitBucket - download source as ZIP

我的未来我决定 提交于 2019-11-27 02:38:38
I know I can get the project through git clone command, but is there any way, how to download the project through the web interface from BitBucket.org ? In the best way, I am looking for a way to download a project source as ZIP compress file. Pigueiras For the latest version of Bitbucket (2016+), the download link can be found in the Download menu item. Pre-2016 First method In the Overview page of the repo, there is a link to download the project. Second method Go to Downloads -> Branches -> Download the branch that you want (as .zip, .gz or .bz2). There you'll find download links for all

Start ssh-agent on login

廉价感情. 提交于 2019-11-27 02:20:28
I have a site as a remote Git repo pulling from Bitbucket.com using an SSH alias. I can manually start the ssh-agent on my server but I have to do this every time I login via SSH. I manually start the ssh-agent: eval ssh-agent $SHELL Then I add the agent: ssh-add ~/.ssh/bitbucket_id Then it shows up when I do: ssh-add -l And I'm good to go. Is there any way to automate this process so I don't have to do it every time I login? The server is running RedHat 6.2 (Santiago). Please go through this article. You may find this very useful: http://mah.everybody.org/docs/ssh Just in case the above link

git rejected push non-fast-forward

蹲街弑〆低调 提交于 2019-11-27 01:22:39
问题 I am quite new to git, and I had been working on a small side project for the last 2 months and had been pushing stuff onto bitbucket with no problems. A couple of days ago, I zipped my project folder (since I had to reinstall my Linux OS) and now unzipped this after my reinstallation of Linux OS. So, now, I went to my project folder, kept happily working and finally did: git add -A && git commit -m "modified code" && git push origin master ..which is what I usually do.. and I get: To https:/

difference between origin/branch_name and branch_name?

对着背影说爱祢 提交于 2019-11-27 01:04:15
for pushing to bitbucket. If I do: git push origin origin/branch_name my commits are not pushed. Total 0 (delta 0), reused 0 (delta 0) If I do git push origin branch_name my commits are pushed: Counting objects: 160, done. Delta compression using up to 8 threads. Compressing objects: 100% (13/13), done. Writing objects: 100% (20/20), 2.10 KiB | 0 bytes/s, done. Total 20 (delta 6), reused 0 (delta 0) so what is the origin/ mean in front of the branch_name? And why does it matter? You have to remember that there are different types of branches: (Purely) local branches, i.e. branches you commit