Set up your local directory
mkdir /path/to/your/projectcd /path/to/your/projectgit initgit remote add origin git@bitbucket.org:myorg/myrepository.git (or git remote add origin https://bitbucket.org/myorg/myrepository) in case you use httpsCreate your first file, commit, and push
echo "My Text" >> contributors.txtgit add contributors.txtgit commit -m 'Initial commit with contributors'git push -u origin master
You can also find this information when creating a new repository from BitBucket [1].[1] https://bitbucket.org
No comments:
Post a Comment