1.5 KiB
1.5 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 ~/.dotfilesalias 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 -fgitdotfiles submodule update --init --recursive
Log
- for some reason I have to add branch to
.git/configmanually.
[branch "main-termux"]
remote = origin
merge = refs/heads/main-termux