Was vermisse ich, was getan werden muss, um git
zu ignorieren, um meinen .idea/
Pfad zu ignorieren?.gitignore nicht ignoriert .idea Pfad
[email protected]:~/dev/1$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
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: .idea/.name
modified: .idea/misc.xml
modified: .idea/modules.xml
modified: .idea/vcs.xml
modified: .idea/workspace.xml
modified: src/Receiver.java
modified: test/1/agent/WindowsQueryHandlerTest.java
Untracked files:
(use "git add <file>..." to include in what will be committed)
lib/
mp1.iml
no changes added to commit (use "git add" and/or "git commit -a")
[email protected]:~/dev/1$ cat .gitignore
*.class
# Package Files #
*.war
*.ear
# IDEA config files
.idea/
möglich Duplikat [Dateien ignorieren, die bereits eine Git-Repository begangen wurden] (http://stackoverflow.com/questions/1139762/ignore- files-that-have-bereits-committed-to-a-git-repository) – Jubobs