Git: Setting Up git on bitbucket

,

to use https://bitbucket.org/, first create a accout from their website.

then, create a new project, on their site.

Setting Up SSH Key

see Git: Setting up git on GitCafe

Create Git Repository If Necessary

If you don't have a git repo yet, then do:

〔☛ git Tutorial

Associate a Name to Bitbucket URL

then, here's how to associate your existing git on your machine to bitbucket.

cd git repo path

git remote add bitbucket ssh://git@bitbucket.org/yourName/yourRepoName.git → associate a name to a repo url.

Push to Bitbucket

git push -u bitbucket --all → pushes up the repo and its refs for the first time.

git push -u bitbucket --tags → pushes up any tags.

blog comments powered by Disqus