0

The File.md
becomes the-file.md
when created 1) via local filesystem or 2) via github "Add Files"

is it possible to

  • make all lowercase
  • replace spaces with hyphens?

I've found a powershell* for part2, which may help for batch renaming files in a repo I checkout (assuming git can detect or be told the name of the new file)

Assume it's not possible (sadly) to change github config, so a space is a hyphen, but wondered if possible to achieve using workflow actions, eg

  • (on commit/push) find files with capitals or spaces
  • workflow git mv **

`* https://gist.github.com/DigitalEssence/928605ab6ee6b7ac77c4af67efdf3e6e
** https://stackoverflow.com/a/13391212/7292145

0 Answers0