Existing project into new Bitbucket repo
- Create repository on your Bitbucket account
- Start Terminal and go into the folder, where you can have your project from Bitbucket (Git)
- You can try the command which the Bitbucket provides to you under 'I have an existing project' but I had a problem with it (No refs in common and none specified; doing nothing. Perhaps you should specify a branch such as 'master')
- Create new folder and type git init in it (in Terminal)
- Type git remote add origin <your https address to the repository> in Terminal
- Copy your existing project into the directory where you create a Git
- Type following commands:
- git add <folder with your project>/*
- git commit -m 'a comment for the commit'
- git push -u origin master
That's it! :-)