-
Notifications
You must be signed in to change notification settings - Fork 499
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
Extend re-add command to add new files #3776
Comments
Just a quick note on this. This makes most sense with |
This is actually a dup of #2298. |
Doesn't seem like a dupe, I don't want to add the whole directory, only a specific file. In my case there is no |
You're right. I misunderstood the issues and undid the dupe. |
Is your feature request related to a problem? Please describe.
Following #3142 I've switched from
add
tore-add
to not break encrypted filesHowever,
re-add
can't add new files, so you getnot managed
error and have to remember again that there is a difference betweenadd
andre-add
Describe the solution you'd like
I'd like to have just one command that can handle both cases, so some kind of option/flag that asks
re-add
to also be able to add new files would be great!Describe alternatives you've considered
Not sure, thought about maybe checking the error message in an aliased launcher and relaunch the same command with
add
insteadOr maybe checking if a file is managed beforehand
But that seems too brittle
Additional context
N/a
The text was updated successfully, but these errors were encountered: