2015年4月12日日曜日

bitbucketを使ってみた

bitbucketを使ってみた <

bitbucketのアカウントをとったので、使ってみました。

  1. リポジトリを作成する
  2. 管理したいフォルダに移動し、コマンドを実行
     例えばsample/picture/Aとなっていてsampleの下にフォルダを追加する予定がある場合は、sampleフォルダに移動し、以下を実行
$ git init
$ git remote add origin https://xxxxxx@bitbucket.org/xxxxxx/repository
$ git add .
$ git commit -m "Initial Commit"
$ git push -u origin master

0 件のコメント :

コメントを投稿