diff options
Diffstat (limited to '')
| -rw-r--r-- | README.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..704e7d2 --- /dev/null +++ b/README.md | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | # Dotfiles | ||
| 2 | |||
| 3 | Using bare git repo method | ||
| 4 | |||
| 5 | https://wiki.archlinux.org/title/Dotfiles | ||
| 6 | |||
| 7 | ## How to use | ||
| 8 | |||
| 9 | In fish, use abbreviation `dotfiles` to manipulate repo. | ||
| 10 | |||
| 11 | Setup dotfiles with this command: | ||
| 12 | ```sh | ||
| 13 | git clone --bare [email protected]:nxblnd/dotfiles.git $HOME/.config/dotfiles && \ | ||
| 14 | git --git-dir="$HOME/.config/dotfiles" --work-tree="$HOME" config --local status.showUntrackedFiles no && \ | ||
| 15 | git --git-dir="$HOME/.config/dotfiles" --work-tree="$HOME" sparse-checkout set --no-cone '/*' '!README.md' && \ | ||
| 16 | git --git-dir="$HOME/.config/dotfiles" --work-tree="$HOME" checkout | ||
| 17 | ``` | ||
