Git: Getting started with Bitbucket Repository
- Krishnaraj Rajagopal
- Mar 15, 2018
- 1 min read
Assumptions
1. Repository is created within Bitbucket
2. Git installed on your local machine
Steps
From Git console on your local machine and execute the following.
$ git clone https://<username>@bitbucket.org/<username>/<repository>.git
$ cd <repository>
$ git add README.md
$ git commit -m "Initial commit"
$ git push -u origin master
<username> - replace with your bitbucket username
<repository> - replace with the name of repository within bitbucket
Comments