We have cache folder in our project files. We are working as a team and use NetBeans 7.2 and Git as CVS .
cache folder has some sub-folder inside. we don’t want this folder and its sub-folders get involved in push action.
How can we untrack cache folder and its sub-folders?
Simply add your cache folder to your
.gitignore. Details on how to do that can be found here. You can commit your.gitignoreto your repo, so the folder will also be ignored on all other machines.