Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] - Option to exclude directory / directories #64

Open
ondrovic opened this issue Jun 6, 2022 · 1 comment
Open

[FEATURE] - Option to exclude directory / directories #64

ondrovic opened this issue Jun 6, 2022 · 1 comment

Comments

@ondrovic
Copy link

ondrovic commented Jun 6, 2022

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

Example usage:

gitup -e .db_dumps .postgres . Just an idea

@earwig
Copy link
Owner

earwig commented Jun 30, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants