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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.