1.3 KiB
1.3 KiB
· source code on Gitea · mirrored on GitHub · older version on GitHub
dotfiles (Termux variant)
This repository contains my dotfiles. They are managed by using git clone --bare
,
see for example How to Store Dotfiles - A Bare Git Repository | Atlassian Git Tutorial.
Quick links
Files overview
On a new machine
- install git
cd ~
gd_branch=main-termux
(see also branchesmain
)git clone --bare --branch $gd_branch --depth 1 --recurse-submodules --shallow-submodules git@jaandrle.cz:jaandrle/dotfiles.git ~/.dotfiles
alias gitdotfiles='/usr/bin/git --git-dir="$HOME/.dotfiles/" --work-tree="$HOME"'
gitdotfiles config --local status.showUntrackedFiles no
- you may also need to use
gitdotfiles reset
(git-dotfiles reset --hard HEAD
)gitdotfiles checkout -f
gitdotfiles submodule update --init --recursive