.gitignore for Command Based robot projects (In Eclipse)

Does anybody have a .gitignore they’d be willing to share? It’d make my life a lot easier. I can never seem to get mine to cover everything it should… and downloading / cloning the project doesn’t seem to work (it isn’t recognized as a WPILib project, just generic Java) right now.

As far as I know, this leaves out basically everything but actual code.

Edit: Also, you’ll need to do

git rm --cached [unwanted file(s)]

in order to make sure it doesn’t keep being uploaded

That was exactly what I needed, thanks!