I have a git repo which contains some XSLX files. I edit them with LibreOffice every once in a while. Sometimes LibreOffice won't remove the lock files ( ./folder/.~lock.filename.xslx#
). This causes those files to be liested as new on every git status
.
I would like git to ignore them. I tried the following in .gitignore
but doesn't seem to work:
*.~lock*
.~lock*
*/.~lock*
Any ideas?
UPDATE
Also tried:
.~lock.*#
As seen in http://lists.freedesktop.org/archives/libreoffice-commits/2012-December/040253.html with no success.