Git – Linking local repo to remote repo and pushing for the first time

After struggling with this for quite some time (why, im not sure :), I finally was able to create a remote repo (on bitbucket), and then create a local repo and push everything up to the remote repo.

Here are the sequence of commands I used:


cd your/Source/Directory