- In
.gitignore
I added*.o
. - I switched to my second branch (using console)
- I created
test.o
withtouch test.o
- I used
git pull
- When I use
git status
I can see, thattest.o
is untracked, and can be tracked.
I expected that git will totally ignore test.o
and dont metion about tracking. I cant use git add .
now, because it will track test.o
.
Is there a possibility to tell git to totally ignore test.o
file?