Bitbucketでドットファイル管理
Bitbucketでドットファイルを管理することにしたのでメモメモ。
初期設定・追加
~ $ mkdir dotfiles ~ $ mv .zshrc dotfiles ~ $ ln -s .zshrc dotfiles/.zshrc ~ $ cd dotfiles dotfiles $ hg init dotfiles $ hg add .zshrc dotfiles $ hg commit dotfiles $ hg push ssh://hg@bitbucket.org/user_name/dotfiles
初期取得
~ $ hg clone ssh://hg@bitbucket.org/user_name/dotfiles
変更反映
dotfiles $ hg push
更新取得
dotfiles $ hg pull -u