I have followed the follwoing instructions:
Step 1: Switch to your repository's directory
Step 2: Connect your existing repository to Bitbucket
git remote add origin https://firstname.lastname@example.org/rabol/wifdt.gitgit push -u origin master
That did not work.
Then I followed theses:
git remote add origin https://email@example.com/rabol/wifdt.git
git add --all
git push -u origin master
then I get the following error:
error: src refspec master does not match any.
error: failed to push some refs to 'https://firstname.lastname@example.org/rabol/wifdt.git'
Why is it so 'complicated' ??
For the above steps to work, you need to have your repository created locally and it must be a Git repository. You said the first set of steps did not work, did you get any error message? Can you paste it here?
Hi Steen, the guide is assumming that you already have a repository (this is a code project that has already been initialized with Git or Mercurial). In your case it looks like you didn't have a repository, but un unversioned code project.
As this could be confusing for some users, I've submitted a feature request to make this message clearer and also to add a third option to that screen: 'I have an unversioned project'. You can find this feature request at https://bitbucket.org/site/master/issues/14243/include-steps-for-how-to-start-with-an. You can vote for it to increase it's popularity, watch it to receive updates or add a comment.
In the meantime, you can find the steps at Add unversioned code to a repository.
Hope this helps!
Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot