- [[ -f ~/.ssh/id_rsa.pub ]] || ssh-keygen -t rsa
- [[ -f ~/.ssh/id_rsa.pub ]] && cat ~/.ssh/id_rsa.pub | xclip
https://github.com/account/ssh
- cd ~/dev/
- git clone git://github.com/imathis/octopress.git
- rubyonchina.github.comcd ~/dev/rubyonchina.github.com
- rvm use 1.9.2@rails31
bundle update
rake install
- cd ~/dev/rubyonchina.github.com
- git remote add rubyonchina git@github.com:rubyonchina/rubyonchina.github.com.git
- rake new_post["post title"]
- rake generate
- rake setup_github_pages
- git@github.com:rubyonchina/rubyonchina.github.com.git
- rake deploy
- git push -u rubyonchina master
http://rubyonchina.github.com
- git add .
- git commit -m "some changes"
- git push rubyonchina source
欢迎光临 冠富商务通中文社区 (http://gu1vhwx.nat.ipyingshe.com/news/) | Powered by Discuz! 3.0 |