Is there a way to import all of the code into Bitbucket Git repo that I have?
I would like to push all of the files in there initially from my local machine then start from there.
I find docs that states importing from Github and others but nothing about existing project that haven't used version control before.
Yes.
cd project-root
git init
git add .
git commit -m "Initial commit"
git remote add origin url-of-your-bitbucket-remote
git push -u origin master
Notice that most of these steps are mentioned when you create the BitBucket repo.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With