Find a file
2021-06-10 23:04:27 +01:00
.composer Re-organise to use a bare repo 2021-06-10 12:18:43 +01:00
.config Re-organise to use a bare repo 2021-06-10 12:18:43 +01:00
.git_template Re-organise to use a bare repo 2021-06-10 12:18:43 +01:00
.zsh Re-organise to use a bare repo 2021-06-10 12:18:43 +01:00
bin git: Simplify the git-opr command 2021-05-21 23:26:21 +01:00
.gitconfig Re-organise to use a bare repo 2021-06-10 12:18:43 +01:00
.gitignore-global Re-organise to use a bare repo 2021-06-10 12:18:43 +01:00
.gitmessage Re-organise to use a bare repo 2021-06-10 12:18:43 +01:00
.hushlogin Re-organise to use a bare repo 2021-06-10 12:18:43 +01:00
.npmrc Re-organise to use a bare repo 2021-06-10 12:18:43 +01:00
.tmux.conf Re-organise to use a bare repo 2021-06-10 12:18:43 +01:00
.zshenv Re-organise to use a bare repo 2021-06-10 12:18:43 +01:00
.zshrc Re-organise to use a bare repo 2021-06-10 12:18:43 +01:00
README.md Add installation instructions 2021-06-10 16:15:23 +01:00

dotfiles

My personal dotfiles, originally for macOS only but currently being adapted for use on Linux based systems (Ubuntu and Pop!_OS in particular) where needed.

Installation

git clone --bare git@github.com:opdavies/dotfiles.git $HOME/dotfiles
git --git-dir $HOME/dotfiles --work-tree $HOME checkout
git --git-dir $HOME/dotfiles --work-tree $HOME config status.showUntrackedFiles no

Adding a config alias

You can also set a config alias as a wrapper for the Git command, as described within Atlassian's blog post:

alias config="git --git-dir $HOME/dotfiles --work-tree $HOME"

Adding new files

config add /path/to/file
config commit -m "Some commit message"
config push

Inspiration