logoalt Hacker News

JonathonWyesterday at 8:06 PM1 replyview on HN

`git add -f` will add ignored files. Once you've done that, any files you've added will be part of your commit regardless of the contents of .gitignore.


Replies

chrisweeklyyesterday at 8:11 PM

Right... and also (I think; unsure bc I only ever use cli) some GUIs (eg github.com web ui) may enable adding files that'd otherwise be ignored.

(shrug)