I'm reading here: http://git-scm.com/book/en/Git-Basics-Recording-Changes-to-the-Repository
1) Do we put .gitignore at our working directory? I think so according to http://stackoverflow.com/questions/5698148/where-does-gitignore-file-belong *BUT, git isn't ignoring my files.* 2) I'm using intellij 12 and I'm trying to do a rebase. However, it says I first have to either stash or commit before I can do a rebase. If I uncheck the files that I want to ignore (see image), then it won't let me commit. I've set intellij to ignore the three build files, but it too doesn't appear to be ignoring it. Here's git bash: me@uc /c/code/portal (bugfix/PORTALS-21-xss-fixes) $ pwd /c/code/portal me@uc /c/code/portal (bugfix/PORTALS-21-xss-fixes) $ cat .gitignore build.number build.properties build.xml .gitignore .idea/* me@uc /c/code/portal (bugfix/PORTALS-21-xss-fixes) $ git status On branch bugfix/PORTALS-21-xss-fixes Your branch is up-to-date with 'origin/bugfix/PORTALS-21-xss-fixes'. Changes not staged for commit: (use "git add <file>..." to update what will be committed) (use "git checkout -- <file>..." to discard changes in working directory) modified: build.number modified: build.properties modified: build.xml *[QUESTION#3: Why would git still list these when I have the above files in the .gitignore?]* Untracked files: (use "git add <file>..." to include in what will be committed) manifest.txt out/ portal.iml no changes added to commit (use "git add" and/or "git commit -a") Thanks, Gordon -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
<<attachment: SP32-20140418-120017.png>>