dotfiles/README.md
2024-02-20 15:23:33 +01:00

2.6 KiB
Raw Blame History

git3moji–v1.0

dotfiles (WIP)

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.

Files overview

On a new machine

  1. install git
  2. cd ~
  3. gd_branch=main
  4. git clone --bare --branch $gd_branch --depth 1 --recurse-submodules --shallow-submodules git@jaandrle.cz:jaandrle/dotfiles.git ~/.dotfiles
  5. alias gitdotfiles='/usr/bin/git --git-dir="$HOME/.dotfiles/" --work-tree="$HOME"'
  6. gitdotfiles config --local status.showUntrackedFiles no
  7. you may also need to use
    1. gitdotfiles reset (git-dotfiles reset --hard HEAD)
    2. gitdotfiles checkout -f
    3. gitdotfiles submodule update --init --recursive

KDE Neon