2013年3月7日木曜日

git push -u origin master

git で bare なレポジトリを作った後にクローンして、git push しようとするt、


$ git push
No refs in common and none specified; doing nothing.
Perhaps you should specify a branch such as 'master'.
fatal: The remote end hung up unexpectedly
のようにうまくいかなかった。


これについては、
http://thelucid.com/2008/12/02/git-setting-up-a-remote-repository-and-doing-an-initial-push/
を調べてみたところ、


$ git push -u origin master
として、origin に master をアップロードして、それを記録させれば、次から
$ git push
でできることが分かった。

短期目標:データ分解を12日までに
今日の作業内容:データの取得方法の整理
今日のランチ:らく 鶏の照り焼き定食
明日の予測作業時間:3h



0 件のコメント:

コメントを投稿