bitbucketでTestRepoというリポジトリを作成したとする。
$ mkdir ~/TestRepo $ cd TestRepo $ git clone ssh://git@bitbucket.org/satojkovic/testrepo.git $ touch README $ echo "Hello World" > README $ git add README $ git commit -m 'Initial Commit' $ git remote add origin ssh://git@bitbucket.org/satojkovic/testrepo.git $ git push origin master
気をつけるのは、URLのリポジトリ名が小文字にされてしまうこと。remote addするときに、自分でURLを
大文字で入力していたら、リポジトリが見つからなくてエラーになってしまった。
なぜ勝手に小文字にされてしまうんだろう...