Skip to content

osama-su/.dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

my Arch Linux .dotfiles

Setup

git init --bare $HOME/.ditfiles
alias config='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
config remote add origin git@github.com/osama-su/.dotfiles.git

Replication

git clone --separate-git-dir=$HOME/.dotfiles git@github.com/osama-su/.dotfiles.git .dotfiles-tmp
rsync --recursive --verbose --exclude '.git' .dotfiles-tmp/ $HOME/
rm --recursive .dotfiles-tmp

Configuration

config config status.showUntrackedFiles no
config remote set-url origin git@github.com/osama-su/.dotfiles.git

Usage

config status
config add .gitconfig
config commit -m 'Add gitconfig'
config push

Open in VSCode

dotfiles git code ~

About

my .dotfiles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published