This short post is mainly for projects which involve working with a 'core' theme or components.

When you're creating a child theme or component, most documentation tells you to copy a file form the 'core' folder and place it in your own folder to make changes. I see a lot of developers copy this, add their changes, then commit. In the commit log it shows the whole file being new, meaning you have to take extra steps to compare any differences.

I propose that once we've copied out the file, commit that straight away with a commit message such as 'Copied from core'. That way, when you've made your changes and committed those, the history will show what was part of the core file and what changes you've made on top of it.