summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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```