Skip to content

fajknli/.dotfiles

Repository files navigation

Dotfiles Usage

  1. clone the repo
~~git clone --bare https://github.com/fajknli/.dotfiles.git $HOME/.dotfiles~~
git clone --bare git@github.com:fajknli/.dotfiles.git --depth=1 $HOME/.dotfiles

  1. adds alias in .bashrc or .profile ...
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
  1. checkout file in work directory
dotfiles checkout -f
  1. hides no tracked files (work directory have too many files)
dotfiles config --local status.showUntrackedFiles no
  1. How to track file?

you can use $HOME/.local/bin/dots check it , add file or directories in it, then run the script

Notices

  1. automatically track any new files which created after been tracked directory

Check the file .dotfile/hooks/pre-commit

More alias at .bash_alias

hahaha

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors