Thursday, August 27, 2015

Adding source to an empty remote git account

Set up your local directory

Set up Git on your machine if you haven't already.
mkdir /path/to/your/projectcd /path/to/your/projectgit initgit remote add origin git@bitbucket.org:xxx/xxx.git

Create your first file, commit, and push

git commit -m 'Initial commit with contributors'git push -u origin master