I have added /build/ to my .gitingore but whenever I do build, git shows that my build folder is untracked. I have following folder hierarchy
~/workspace/ProjectName/ ➤ 617a838|mainline⚡
1361 ± : tree -La 1 [6d1h6m] ✭
.
├── .DS_Store
├── .git
├── .gitignore
├── Config
├── build
├── build.xml
├── checkstyle.xml
├── configuration
├── src
└── tst
5 directories, 5 files
~/workspace/ProjectName/ ➤ 617a838|mainline⚡
1362 ± : git status [6d1h7m] ✭
On branch master
Your branch is up-to-date with 'origin/master'.
Untracked files:
(use "git add <file>..." to include in what will be committed)
build
nothing added to commit but untracked files present (use "git add" to track)
Here is content of .gitignore
/build/
/eclipse-bin/
one thing that i did notice is that .gitingore is a hidden file. Does this even matter?