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

Add option to git add with --force #434

Open
bryant1410 opened this issue May 30, 2022 · 0 comments
Open

Add option to git add with --force #434

bryant1410 opened this issue May 30, 2022 · 0 comments

Comments

@bryant1410
Copy link

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

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

1 participant