sc
Scott avatar
ttwillsey

git

Astro Sitemap Page Modified Timestamps

I was asked a question on Threads about how to apply my Last Modified Dates using Git pre-commit to Astro's Sitemap integration.

Using Git Hooks for Displaying Last Modified Dates

Git hooks are pretty cool. I'm using pre-commit to conditionally update the last modified date on certain pages in my blog. Here's how I did it.

Git Diff With Previous Commit Versions

Comparing versions of the same file from two different commits using git.