summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorPavel Egorov <[email protected]>2025-03-04 03:33:48 +0300
committerPavel Egorov <[email protected]>2025-03-04 05:34:27 +0300
commita9d47bebfa803e6050fc0a85d8fcff268808aa39 (patch)
tree219b36fce917bf9d66a5235024cab2297d366187 /README.md
parentb0ebfce0d11b2e54473c6bf97230359b205be80e (diff)
downloaddotfiles-a9d47bebfa803e6050fc0a85d8fcff268808aa39.tar.gz
dotfiles-a9d47bebfa803e6050fc0a85d8fcff268808aa39.zip
Add README
Diffstat (limited to '')
-rw-r--r--README.md17
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
3Using bare git repo method
4
5https://wiki.archlinux.org/title/Dotfiles
6
7## How to use
8
9In fish, use abbreviation `dotfiles` to manipulate repo.
10
11Setup dotfiles with this command:
12```sh
13git clone --bare [email protected]:nxblnd/dotfiles.git $HOME/.config/dotfiles && \
14git --git-dir="$HOME/.config/dotfiles" --work-tree="$HOME" config --local status.showUntrackedFiles no && \
15git --git-dir="$HOME/.config/dotfiles" --work-tree="$HOME" sparse-checkout set --no-cone '/*' '!README.md' && \
16git --git-dir="$HOME/.config/dotfiles" --work-tree="$HOME" checkout
17```