~gsthnz/dtfl

Simple dotfiles manager
9e4d84d3 — Pass Automated Testing Suite 3 years ago
Added dtfl.gsthnz.com to readme
edab5ce8 — Pass Automated Testing Suite 3 years ago
Add a proper git check on the start of the script
Add contributing docs

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~gsthnz/dtfl
read/write
git@git.sr.ht:~gsthnz/dtfl

You can also use your local clone with git send-email.

#dtfl

POSIX sh compliant git wrapper to manage dotfiles in a bare git repository.

This was made as a personal, simpler, drop-in replacement for yadm, thus, repositories managed by yadm should just work.

#Installing

Since dtfl is just a single script, you can just curl it to your $PATH

curl -L https://dtfl.gsthnz.com > $HOME/bin/dtfl

Or, if you don't want use my alias, use the sr.ht url directly:

curl https://git.sr.ht/~gsthnz/dtfl/blob/master/dtfl > $HOME/bin/dtfl

You can also clone and link the dtfl from the cloned repo to your $PATH

ln -s $DTFL_REPO/dtfl > $HOME/bin/dtfl

#Usage

To initialize a new repository:

dtfl init

Or, to clone an existing dtfl or yadm repository:

dtfl clone <url>

After initializing/cloning your dtfl repository, you can use dtfl as a git alias.

For example:

dtfl add <file>

dtfl commit -m "Add <file>"

dtfl push

#Contributing

Patches and questions? Send to my public inbox: ~gsthnz/public-inbox@lists.sr.ht. Thanks!