ygor-sena / .dotfiles

This repository contains my configuration files for Windows+WSL2+Emacs desktop environment among other settings. Commands to replicate and create your own workflow are provided.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Brief considerations

This repository contains my file configurations for Windows+WSL2+Emacs desktop environment among other settings. Commands to replicate it are provided.

This workflow was provided by Siiwyn, which is a reference to this article and this discussion forum about how to set up, track and replicate your dotfiles among other devices. You must change the repository name and links to yours.

Setup

git init --bare $HOME/.dotfiles
alias dotfiles='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
dotfiles remote add origin git@github.com:ygor-sena/.dotfiles.git

Replication

git clone --separate-git-dir=$HOME/dotfiles https://github.com/ygor-sena/.dotfiles.git
rsync --recursive --verbose --exclude '.git' .dotfiles-tmp/ $HOME/
rm --recursive .dotfiles-tmp

Configuration

dotfiles config status.showUntrackedFiles no
dotfiles remote set-url origin git@github.com:ygor-sena/.dotfiles.git

Usage

dotfiles status
dotfiles add .gitconfig
dotfiles commit -m 'feat: add gitconfig'
dotfiles push

References

About Git bare repository:

About WSL settings:

About

This repository contains my configuration files for Windows+WSL2+Emacs desktop environment among other settings. Commands to replicate and create your own workflow are provided.

License:GNU General Public License v3.0


Languages

Language:Shell 64.3%Language:Emacs Lisp 35.7%