Skip to content

arekmaz/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

setup:

# enter home directory
cd

# clone bare into ~/.dotfiles folder
git clone [email protected]:arekmaz/dotfiles.git --bare .dotfiles

# checkout the actual content from the bare repository in ~
git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME checkout main .

# set the global flag excludesFile to the .gitignore.defaults file
git config --global core.excludesFile '~/.gitignore.defaults'

# exit the shell or run: `source ~/.bashrc`

# from now on you can use the `dot` script as a replacement for `git` command for dotfiles
# alternatively you can use the `lazydot` if you have [lazygit](https://github.com/jesseduffield/lazygit) installed

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages