Git cheat sheet: Difference between revisions

From misc notes
Jump to navigation Jump to search
(ページの作成:「github で repository つくったら手順がでてくる」)
 
No edit summary
Line 1: Line 1:
github で repository つくったら手順がでてくる
github で repository つくったら手順がでてくる
  mkdir hoge
  cd hoge
  git init
  touch README
  git add README
  git commit -m 'first commit'
  git remote add origin git@github.com:fuga/hoge.git
  git push -u origin master

Revision as of 13:53, 30 May 2012

github で repository つくったら手順がでてくる

 mkdir hoge
 cd hoge
 git init
 touch README
 git add README
 git commit -m 'first commit'
 git remote add origin git@github.com:fuga/hoge.git
 git push -u origin master