Answer the question
In order to leave comments, you need to log in
How to upload an existing project to Bitbucket?
I have a local git project. Since it is local, there is no url to clone. In the instructions , I carry out the section
Import an existing, unversioned code project into Bitbucket Server. The 4th paragraph says that you need to find clone URL in the panel on the left, but there is nothing like that. There is a Clone button on the top right, but there the link is very different from the example, for example, the port is not specified, the username is present before the project name and the .git file is named after the project, not repo.git. But I tried with it by adding a port, in the 5th paragraph the second command
git push -u origin master
is not executed, waiting for something, any text entered is ignored and more text is expected.
Answer the question
In order to leave comments, you need to log in
When creating a clean repository in bitbucket, detailed instructions are displayed on how to connect an existing turnip.
Step 2: Connect your existing repository to Bitbucket
git remote add origin [email protected]:casufi/test-repo.git
git push -u origin master
git remote add origin https://[email protected]/casufi/test-repo.git
git push -u origin master
$ git config user.name "John Doe"
$ git config user.email [email protected]
What is the problem with cloning a repository from bitbucket and throwing project files into it?
Here https://confluence.atlassian.com/bitbucket/change-... is described in detail, maybe I looked at the wrong protocol.
If you can't figure it out, try to deploy the project via git clone and run git remote -v and you will see the url you need.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question