How to git add bin folder despite gitignore

git add despite gitignore. How to force add a file and folder despite the .gitignore file.

git add force

To add new files on command line you use the git add. To overwrite a gitignore rule you can use the –force or just -f to allow adding otherwise ignored files.

git add .\bin\* -f
git add

Git add documentation: https://git-scm.com/docs/git-add