一箇所でdotfilesを管理する必要に迫られたので、管理することにした。 以下、手順。 githubにプロジェクト『dotfiles』を作成 rdera · GitHubの『Dashboard』→『Create A Repository』 リポジトリの作成 $ cd ~ $ git init $ vi .gitignore * #全てのファイルを除外 *. #全ての隠しファイルを除外 !.bashrc # .bashrcを除外しないポイントは.gitignoreファイル。 $ git add . $ git commit -m "first commit."$ git remote add origin git@github.com:rdera/dotfiles.git $ git push origin master これで、.bashrcがgithubで管理されるようになった。 変