3.26.2014

[Git] Git Learn with tryGit

Try Git
http://try.github.io

@本機端初始化
  git config --global user.name "TestMan"
  git config --global user.email "TestMan@mail.com"

@從Github抓檔案下來
  git clone https://github.com/TestMan/TestMan.git

@Create a new repository on the command line/
  touch README
  git init
  git status
  git add README
  git commit -m "first commit"
  git remote add origin https://github.com/XXX/XXX
  git push -u origin master

@Push an existing repository from the command line/
  git remote add origin https://github.com/XXX/XXX
  git push -u origin master

Reference:

沒有留言:

張貼留言