달력

122019  이전 다음

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  •  
  •  
  •  
  •  

Let's git now

낙서장 2011. 4. 28. 16:16
history
  501  cd ~/.ssh
  502  ls
  503  mkdir key_backup
  504  cp id_rsa* key_backup/
  505  rm id_rsa*
  510  ssh-keygen -t rsa -C "kenu@okjsp.pe.kr"
  511  vi id_rsa.pub 
  512  ssh git@github.com
  513  git config --global github.user kenu
  514  git config --global user.name "Kenu Heo"
  515  git config --global user.email "kenu@okjsp.pe.kr"
  516  git config --global github.user kenu
  517  git config --global github.token 5e1086d5f4bb35eff2c920f5a6dbf2df
  518  mkdir ~/Hello-World
  519  cd ~/Hello-World/
  520  git init
  521  touch README
  522  vi README 
  523  git add README
  524  git commit -m 'first commit'
  525  git remote add origin git@github.com:kenu/Hello-World.git
  526  git push origin master

  528  cd ..
  529  ls -altr
  530  mkdir tmp
  531  cd tmp
  532  ls -altr
  533  git clone git@github.com:kenu/Spoon-Knife.git
  534  cd Spoon-Knife/
  535  git remote add upstream git://github.com/octocat/Spoon-Knife.git
  536  git fetch upstream
  537  vi okjsp.txt
  538  git add okjsp.txt 
  539  git commit -m "okjsp"
  540  git push origin master
  541  git fetch upstream
  542  git merge upstream/master
Posted by 케누 kenu허광남

댓글을 달아 주세요