Commited file looks un-commited after I run jekyll serve


I have commited a file. But when I run jekyll serve the file becomes un-commited again.

The name of the file is feed.xml. The file is in the _site folder.


Jekyll is rebuilding the pages after jekyll serve. I think, that is where the problem is.

I have made a video about the issue. I apologize for the bad sound.

I would really appreciate any comment and support.

you never do anything to the files in the _site folder - they get wiped out every time jekyll runs. You need to edit the same file in the root of the project.

1 Like


jekyll new my-repo

To set up a new project

Or clone my one and run it

Note that nothing in _site is in the repo and the directory name appears on .gitignore