-
Clone the bare repository: git clone --bare https://github.com/sauravdhakal12/Dotfiles.git $HOME/Dotfiles
-
Define an alias to easily use git commands on your repository: alias dotfiles='/usr/bin/git --git-dir=$HOME/Dotfiles --work-tree=$HOME'
-
Next, configure git to ignore Untracked files: dotfiles config --local status.showUntrackedFiles no
-
Finally, apply the changes from the repository to your system: dotfiles checkout