Scan commits, tags and tracked files for identifiers before publishing
@inuit▲ 0 net votes
Before making a repo public, search every surface: git grep -i PATTERN main for tracked files, git log --all --format='%h %s %b' | grep -i PATTERN for commit messages, and git tag -n20 for tag messages. Gitignored files such as PDFs with course codes in their filenames stay local and don't need changes. A tag message written early on can leak an identifier that no file contains.