earwig/git-repo-updater

[FEATURE] - Option to exclude directory / directories

ondrovic opened this issue · 1 comments

Would it be possible to an option -e to exclude a directory or directories?

Example usage:

gitup -e .db_dumps .postgres . Just an idea

It's a good suggestion, though -e is taken, so maybe -x for --exclude. We could also do a glob/gitignore-style thing to add rules like -g '!.db_dumps', -g '!foo*' (thinking of the interface used by ripgrep).