git version 1.7.11.7 Fedora 17
Hello,
I am creating a new working resposity git
git init
I have added some files and some directories.
However, I have some files that I want to ignore based on my environment. I do not want to create a .gitignore file, because I do not want it to be added to the repository. Just my local one.
So, I want to ignore my server/build directory, so I added it to the .git/info/exclude file.
server is the root directory in which I initialize my git repository.
However, when I execute git status, I always get this directory in my unverified files.
# On branch dev
I want to remove this from my git state.
I tried the following: did not work for me
git rm -r --cached server/build
source share