bitbucket

How do I add Git version control (Bitbucket) to an existing source code folder?

大城市里の小女人 提交于 2019-11-30 10:04:30
问题 This question was migrated from Software Engineering Stack Exchange because it can be answered on Stack Overflow. Migrated 6 years ago . How can I add the contents of an existing folder to Git version control? The tutorial here covers the case of making a directory and then adding source contents to it. I have some source code in a folder that is path dependent and don't want to move it. So, how can I just go into my folder and make it a repository? 回答1: Final working solution using @Arrigo

Deploying Bitbucket to Azure Web Site: add private nuget package server

微笑、不失礼 提交于 2019-11-30 09:15:12
I have set up a website on Azure to deploy through a Bitbucket repository. The process fails when it tries to install nuget packages which are stored on a private nuget server, not nuget.org. Is there a way to specify where to restore the nuget packages from so that Azure can restore these packages? You can add a custom NuGet.config file at the same level as your .SLN file. You can then make the following modifications (assuming that your private feed requires authentication, create a set of credentials which only are used for this site): <activePackageSource> <add key="All" value="(Aggregate

Curl request with digest auth in PHP for download Bitbucket private repository

自闭症网瘾萝莉.ら 提交于 2019-11-30 08:43:22
I'm try to do this request on php, for download the last source from my Bitbucket private repository: curl --digest --user user:pass https://bitbucket.org/user/repo/get/tip.zip -o test.zip in command line its ok, the file download perfect, but in php dont work, this my php code: $out = fopen('test.zip', 'w+'); $ch = curl_init(); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_VERBOSE, true); curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_DIGEST); curl_setopt($ch, CURLOPT_USERPWD, 'user:pass'); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); curl_setopt($ch, CURLOPT_SSL

Why is Jenkins failing when fetching from git, while the command line isn't?

孤人 提交于 2019-11-30 06:52:06
问题 All of my Jenkins builds are failing at the git fetch line. It's failing at git fetch --tags --progress git@bitbucket.org:ethenwilson/whentoact.git Started by user anonymous Building in workspace /Users/ethen/.jenkins/workspace/Build NikNik > git rev-parse --is-inside-work-tree Fetching changes from the remote Git repository > git config remote.origin.url git@bitbucket.org:ethenwilson/whentoact.git Fetching upstream changes from git@bitbucket.org:ethenwilson/whentoact.git > git --version

Libcurl.dll error with Git push

∥☆過路亽.° 提交于 2019-11-30 06:43:44
Recently I installed Git (Using Bit bucket for repository). I configured everything according to different guides I found on the net, but whenever I use the command git push -u origin --all I get the following error: The procedure entry point curl_multi_timeout could not be located in the dynamic link library libcurl.dll It looks like it's an OpenOffice conflict from their libcurl . From my understanding, Openoffice put an old libcurl.dll in the system directory. Try to remove libcurl.dll from C:\Windows\sysWOW64 and/or C:\Windows\System32 (Reinstalling Git or uninstalling OpenOffice doesn't

Git: unable to create symlink (File name too long)

拜拜、爱过 提交于 2019-11-30 06:41:35
I had pushed a project from Linux to Bitbucket and then cloned it on Windows. Turns out there were two symlinks, which appeared as textfiles on Windows. Since I knew where they should point to, I replaced them by copies of their destination files, committed and pushed. Now the Bitbucket repository looks okay when I look at it from their web interface. However a git clone on my Unix machine gives me two messages like: error: unable to create symlink ... (File name too long) and the two files, which were symlinks previously are absent. I tried cloning into /tmp/... to get shorter filenames, but

Bitbucket fails to authenticate on git pull

时光怂恿深爱的人放手 提交于 2019-11-30 06:12:01
问题 I use BitBucket and had to change my password because it was compromised. git pull remote: Invalid username or password. If you log in via a third party service you must ensure you have an account password set in your account profile. fatal: Authentication failed for 'https://bitbucket.org/myusername/myproject.git/' How can I change my password using command line? 回答1: You need to reset the password as shown below. On macOS: git config --global credential.helper osxkeychain On Windows 10: git

Can't push after Git Update

*爱你&永不变心* 提交于 2019-11-30 05:17:32
问题 I've just updated from Git 1.7.11 to 1.8.5 Now when trying to push to bitbucket I'm getting the following message: fatal: could not read Password for 'https://xxxxxx@bitbucket.org': No such file or directory Where xxxxx is my username. Pushing on other machines which are still on 1.7 is working ok. What would cause this and how can I fix it? 回答1: It is a bug in 1.8.5.2 msysgit (1.8.5.2-preview20131230). See the report and a discussion with a way to workaround 回答2: try: git remote add origin

Egit adding Eclipse project folder to git repository

牧云@^-^@ 提交于 2019-11-30 05:10:50
I've created a new empty git repository on BitBucket and now I want to link it to Eclipse. I added the repo to the "Git Repositories" view and created a new project with the same name. I select "Team -> Share Project" then commit and push upstream. Now my repository has folder structure /my-long-project-name/My Long Project Name/ Is there any way to make the project folder the root of the git repository? From the EGit Eclipse Wiki page : It is probably not a good idea to make a project the root folder of your Repository The reason is that you will never be able to add another project to this

Git push failing HTTP 500 curl 22 The requested URL returned error: 500 Internal Server Error

一笑奈何 提交于 2019-11-30 02:37:26
问题 I have just setup git with bit bucket for my windows machine. Git pull works properly, where as git push fails with below error. $ git push Counting objects: 10, done. Delta compression using up to 4 threads. Compressing objects: 100% (10/10), done. Writing objects: 100% (10/10), 174.03 KiB | 0 bytes/s, done. Total 10 (delta 6), reused 0 (delta 0) error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500 Internal Server Error fatal: The remote end hung up unexpectedly fatal: