<dotfiles, Github> dotfilesを少しまとめてみた。
下記を参考にdotfiles
を少しまとめてみた。
Github
へのコミットcommit
とプッシュpush
cd ~/dotfiles git init git add . git commit -m 'first commit' git remote add origin https://github.com/your_name/dotfiles.git git push origin master # type username & password
Github
からクローンclone
cd ~/
git clone https://github.com/your_name/dotfiles.git
更新update
git add . git commit -m "anything" git push origin master
リモートの更新を取り込む。
git pull <repository> <refspec> # <repository>, <refspec>は省略可