bitbucket

Git Merging selected branches into a new branch, retaining access to the branches

╄→尐↘猪︶ㄣ 提交于 2019-12-11 04:24:41
问题 What exactly do I type to go from: (I also get a sense from other people that my drawings suggest I don't quite understand git - bear with me.) -<>-<>-<>-<>- (B) / -----master- \ --<>-<>- (A) where '<>' is a commit. to this: (merge A and B into C) --------------o-> (C, new 'clean' branch off master) / / /-<>-<>-<>-<>-/ (B) // / -----master-- / \ / --<>-<>-/ (A) where 'o' is a merge of A and B into C. And will I then still be able to git check-out the branches (A) and (B) ? And/or could I do

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

a 夏天 提交于 2019-12-11 04:06:30
问题 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) error: failed to push some refs to 'https://myname-mycompany@bitbucket.org/mycompany/projectname.git' I also

Wget compressed tip from Bitbucket (mercurial)

拈花ヽ惹草 提交于 2019-12-11 03:02:59
问题 We would like to use mercurial for web development, but we can't (and don't want to) install mercurial on a shared host. We try to use wget as mentioned here, but I get 401 error. Credentials and link are correct (modified for security). Is there a way to download source from command line? Is this bug or am i doing something wrong? Response below: $ wget _http://xxxx:yyyyyyy@bitbucket.org/username/repo/get/be51983f6357.zip --2011-10-31 00:26:50-- http://username:password@bitbucket.org

Bitbucket: Why can't I create a master/x branch

橙三吉。 提交于 2019-12-11 02:42:16
问题 (This is done in SourceTree) I am trying to make some branches ( master/dev , master/demo , master/live ) but this cannot be pushed. For example, when I try to push master/demo to master/demo then it gives this error: git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags --set-upstream origin master/demo:master/demo fatal: HttpRequestException encountered. An error occurred while sending the request. POST git-receive-pack (206 bytes) remote: error: cannot lock ref 'refs

install_bitbucket fails with 404 error

此生再无相见时 提交于 2019-12-11 02:33:43
问题 I'd like to install this Package from bitbucket: https://bitbucket.org/mkuhn/parallelrandomforest/ But this is what happends if i run install_bitbucket > devtools::install_bitbucket("mkuhn/parallelrandomforest") Downloading bitbucket repo mkuhn/parallelrandomforest@master Error in download(dest, src, auth) : client error: (404) Not Found If i run the command from ?install_bitbucket namely install_bitbucket("dannavarro/lsr-package") it works perfectly. Any ideas R version 3.1.2 (2014-10-31)

Capistrano deploy configuration

♀尐吖头ヾ 提交于 2019-12-11 02:17:02
问题 Help please to configure capistrano for deployment. I have ssh: user: User host: 8.8.8.8:6554 pass: 123 Then i have bitbucket repository git@bitbucket.org:somerepo/code.git user: Repouser@gmail.com pass: repopass I am just need to deploy code from default branch to User@8.8.8.8:8888:/public_html/test/ . On local machine i have ssh key, that allows me to connect without password. But capistrano didn't connect. There is my config: lock '3.3.5' set :application, 'App' set :scm, :git set :repo

Cleaning up a mercurial repository for an external contractor

≯℡__Kan透↙ 提交于 2019-12-11 02:14:08
问题 I have an active project with some sensitive files and directories. I want to hire an external contractor to do some simple UI work. However, I don't want the contractor to have access to some directories and files. My project is in mercurial on Bitbucket. What is the best way to clean up the project and give him access to commit his changes? I thought about forking into a new repository, but I am worried about removing directories I don't want him to have access to. How to I remove them so

Error in package.json deploying Angular2 project on Azure using bitbucket

孤者浪人 提交于 2019-12-11 01:57:16
问题 I am facing a issue deploying angular2 app on azure. I get an error on following line "engines":{"node":"6.2.1"}, I have given this version as WEBSITE_NODE_DEFAULT_VERSION has the value 6.2.1. Anyone having idea about this then please share. Here is the error snapshot: package.json looks as follows: { "name": "angular-quickstart", "version": "1.0.0", "engines":{"node":"6.2.1"}, "description": "QuickStart package.json from the documentation, supplemented with testing support", "scripts": {

How to use git to sync code without committing?

馋奶兔 提交于 2019-12-11 00:59:33
问题 I use egit in Eclipse to sync my code between two locations using a repository on bitbucket. I want to be able to work on the code from either location. What I usually do is commit the changes at the end of the day. Is there another way I should be doing this, as I end up with a lot of commits for code that I'm still working on that is still broken? I thought the idea was that you are meant to only commit when the code is working. What is best practice so I can update the code in the

Importing commit history from Bitbucket to Github

。_饼干妹妹 提交于 2019-12-11 00:27:16
问题 I wanted to import a project from Bitbucket to Github (both public repos). However at some point in time (not the commit pointed by HEAD) some very large files were used which made the above process to fail. So I just pushed the plain source code to gh. I would like however to be able to have the project's commit history to gh. Is there a way to do this? 来源: https://stackoverflow.com/questions/39594572/importing-commit-history-from-bitbucket-to-github