git diff on a bare repo

I wanna see how much a repo changed in the last month on gitlab server side cd /path/to/my/bare/repo.git/ git --git-dir . diff --shortstat "@{1 month ago}" fatal: Unable to read log 'logs/refs/he...