Add option to `git add` with `--force`
bryant1410 opened this issue · 0 comments
bryant1410 commented
Hey, I use this tool to publish a compiled PDF, however PDFs are ignored by a global gitignore file.
So it seems it creates a commit without this file, as I believe the git add
is failing because it'd output something like:
The following paths are ignored by one of your .gitignore files:
[FILE]
Use -f if you really want to add them.
Can you add an option that does git add -f
(or --force
)?