Monday, June 11, 2012

Git Ignore for a Java Eclipse Project

Recently I started to play around a side projct again and I came to the sad conclusion that I've forgotten a lot about Git.  Among the things I've forgotten is how to create a gitignore file and even what to put in one.  There are plenty of tutorials on how to make a gitignore file out there, but I couldn't find any good examples of a gitignore file for a Java EE environment.  Luckily for me, I have some git master friends and they shared their gitignore with me and since I would like to remember it, here it is.


  1. Thanks man this is great and helpful!

  2. Let's say I have my Eclipse repo ~/home/code/main, do i need to place my .gitignore inside main/ for it to work?