0

I'm hosting a page on GitHub Pages. The repo has a CNAME record pointing to my .com site. I'd like to create a fork of this repo to facilitate feature development. I'd like the fork to have a CNAME record pointing to .dev, for instance.

Anyone know if this is possible? I've tried the following:

  • gitignore, but that only works with uncommitted files.
  • git update-index --assume-unchanged CNAME (on the fork repo), but then I can't check in the changes, which is moot.
  • git update-index --skip-worktree CNAME (on the base repo) but that only works for local git index it seems.
Dudo
  • 4,002
  • 8
  • 32
  • 57

0 Answers0