Git

How to push code to the existing bitbucket repository the first time

Quick setup
…or create a new repository on the command line

echo "# test" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M master
git remote add origin [email protected]:username/test-ms.git
git push -u origin master

…or push an existing repository from the command line

git remote add origin [email protected]:username/test-ms.git
git branch -M master
git push -u origin master