Git filter-repo excludes hidden files
05:40 30 Oct 2026

I am combining some git repositories. The first step in the process is to clone each original repository and usiegit filter-repo to prepend a tag to each commit message. The purpose of the tag is to tell which repository each commit is from.

The command that I use is git filter-repo --message-callback 'return b"repo: " + message'.

It works otherwise as expected, but it causes all hidden files (files with leading dot in their names) to disappear.

What am I doing wrong?

git git-filter-repo filter-repo