Welcome to the .dotfiles wiki!
This Repo is currently set up following a tutorial inspired by a Hacker News post .
Setup
This technique simply uses a bare git repository (in this case located in ~/.dotfiles).
A dotfiles alias can then be added to your respective terminalrc (e.g. .bashrc) for ease of use.
Cloning onto a new Machine
- Clone the repo into a bare repository in your home directory
- Append the following alias to your terminalrc
- Checkout the content from your repo to your home directory
- Configure git to hide untracked files for this repo
Initial setup
- Initialize a bare git repository in your home directory using
- Append the following alias to your terminalrc
- Use git as you would normally to track your dotfiles, only using e.g.
dotfiles add instead of git add
Versioning
Use git tag to mark specific commits for later checkout.