yadm_ignore

adds a string to yadm’s ignore file

Telling yadm to ignore a pattern without adding it to your global .gitignore is a pain.

This script simplifies that.

It adds whatever string you pass it to yadm’s “exclude” file, then copies it to ~/.config/yadm/ignore_file so that you’ve got a version you can commit if you need it on another machine. It then then attempts to commit that and run yadm push origin to push up the changes.

Usage

USAGE: yadm_ignore <ignore_string>
       adds the string to yadm's ignore file

Metadata:

Tags:

  • dotfiles
  • git
  • yadm