git-repo-updater icon indicating copy to clipboard operation
git-repo-updater copied to clipboard

[FEATURE] - Option to exclude directory / directories

Open ondrovic opened this issue 2 years ago • 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

ondrovic avatar Jun 06 '22 18:06 ondrovic

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).

earwig avatar Jun 30 '22 03:06 earwig