diff options
| author | Pavel Egorov <[email protected]> | 2025-03-04 03:33:48 +0300 |
|---|---|---|
| committer | Pavel Egorov <[email protected]> | 2025-03-04 05:34:27 +0300 |
| commit | a9d47bebfa803e6050fc0a85d8fcff268808aa39 (patch) | |
| tree | 219b36fce917bf9d66a5235024cab2297d366187 | |
| parent | b0ebfce0d11b2e54473c6bf97230359b205be80e (diff) | |
| download | dotfiles-a9d47bebfa803e6050fc0a85d8fcff268808aa39.tar.gz dotfiles-a9d47bebfa803e6050fc0a85d8fcff268808aa39.zip | |
Add README
| -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 | ``` | ||
