ondrovic opened this issue 3 years ago · 1 comments
Would it be possible to an option -e to exclude a directory or directories?
-e
Example usage:
gitup -e .db_dumps .postgres . Just an idea
gitup -e .db_dumps .postgres
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).
-x
--exclude
-g '!.db_dumps'
-g '!foo*'