Dave Liddament
banner
daveliddament.bsky.social
Dave Liddament
@daveliddament.bsky.social
If I have behaved myself Santa gives me a tub of miniature heroes for Christmas.

I've been collecting the stats on the contents since 2016. Should you wish to see them (I can't see why anyone would), I've shared them here: github.com/DaveLiddamen...
GitHub - DaveLiddament/miniature-heroes: Stats from 10 years of the contents of miniature heroes
Stats from 10 years of the contents of miniature heroes - GitHub - DaveLiddament/miniature-heroes: Stats from 10 years of the contents of miniature heroes
github.com
December 26, 2025 at 10:03 PM
Merry Christmas everyone.

I have a special bonus git tips and tricks video. Yes you can have vanity SHAs for all your git commits!

www.youtube.com/watch?v=fFQf...

Thanks to everyone who's watched the videos. I hope you found them useful.
Git tips and tricks. Day 25. Vanity SHAs
This one surprised me. It's true, you can have vanity git SHAs! Checkout this repo if you want to find out more: https://github.com/mattbaker/git-vanity-sha
www.youtube.com
December 25, 2025 at 10:30 AM
A force push in git is always a risk , especially if other team members are working on the same branch. It's possible to reduce the risk with git push --force-with-lease

www.youtube.com/watch?v=TgR_...
Git tips and tricks. Day 24: git push --force-with-lease
Force-pushing is one of the most dangerous things you can do in Git. It is, sometimes, necessary. In this video, we break down git push --force-with-lease. What it actually does, why it exists, and…
www.youtube.com
December 24, 2025 at 9:15 PM
A bug appeared.
Nobody knows when.
There are 300 commits in between.

This is exactly what git bisect is for.

Check out today's git tips and tricks video to learn about git bisect...
www.youtube.com/watch?v=Hsn7...
Git tips and tricks. Day 23: git bisect
Was a feature working last week and has been reported as broken today? Are there lots of commits to look at to find the issue? If so git bisect to the rescue! This video shows you how to use git…
www.youtube.com
December 23, 2025 at 10:42 PM
Today's video shows how git reflog can save you from all your git mistakes...

www.youtube.com/watch?v=hY2y...
Git tips and tricks. Day 22: git reflog
You know that moment when you’ve just nuked your Git repo… Good news: Git remembers everything. Today's video shows how git reflog is going to save you.
www.youtube.com
December 22, 2025 at 11:39 PM
Today's git tips and tricks looks at git cherry-pick www.youtube.com/watch?v=HOB6...
Git tips and tricks. Day 21: git cherry-pick
Learn how you can make cherry pick a commit from another branch, on to the branch you're currently work on.
www.youtube.com
December 21, 2025 at 11:52 PM
Save typing and your keyboard by using aliases to provide shortcuts for the common git commands you use.

www.youtube.com/watch?v=lyua...
Git tips and tricks. Day 20. git config alias
Save typing and your keyboard by using aliases to provide shortcuts for the common git commands you use.
www.youtube.com
December 20, 2025 at 11:30 PM
Today's tips and tricks are about branches in git.

www.youtube.com/watch?v=wcGT...
Git tips and tricks. Day 19: git branch
Today we're learning about branches.
www.youtube.com
December 19, 2025 at 6:55 PM
In today's git tips and tricks video we learn how to edit commits using interactive rebase.

www.youtube.com/watch?v=a18j...
Git tips and tricks. Day 18: git rebase -i (part 3)
Learn how we can use interactive rebase to change commits in the past. In this example we're splitting an existing commit into 2.
www.youtube.com
December 18, 2025 at 6:42 PM
This is my favourite git feature that I found out about this year.
git commit --fixup
git rebase -i --autosquash

What's your favourite git feature you learnt this year?

www.youtube.com/watch?v=qOrW...
Git tips and tricks. Day 17: git rebase -i --autosquash
My favourite git find of 2025! The combination of git commit --fixup and git rebase -i --autosquash make it easy to retrospectively fix git commits. This one is really worth learning!
www.youtube.com
December 17, 2025 at 6:21 PM
More git rebase magic in today's video. It's possible to reorder commits and combine multiple commits into one....

www.youtube.com/watch?v=C11T...
Git tips and tricks. Day 16: git rebase -i (part 2)
Learn how you can reorder commits and combine 2 commits into one with interactive rebase.
www.youtube.com
December 16, 2025 at 11:43 PM
One of git's most powerful features is git rebase. Start learning about it in today's video...

www.youtube.com/watch?v=6ZWv...
Git tips and tricks. Day 15: git rebase -i (part 1)
Git's rebase functionality is one of its most powerful features. Today we'll learn how to use interactive rebase to reword commit messages.
www.youtube.com
December 15, 2025 at 11:13 PM
Have you just made a git commit that's too big? Learn how to split it into 2 with the help if git reset.... www.youtube.com/watch?v=EPXu...
Git tips and tricks. Day 14. git reset
Today we learn how to split the previous commit into 2 commits using git reset.
www.youtube.com
December 14, 2025 at 11:19 PM
Wish you could rewrite history?

When it comes to git, that wish can come true! In today's video I show you how to amend a git commit...

www.youtube.com/watch?v=m6hn...
Git tips and tricks. Day 13: git commit --amend
Made a mistake with the commit you've just created? Don't panic! With git you can rewrite your git history. Today we take the first step using git commit --amend
www.youtube.com
December 13, 2025 at 1:08 PM
Have you spent ages carefully creating a set of changes in the staging area for your next git commit, only to realise that you want to commit a completely different set of files?

If so the git commit -o option is for you?

www.youtube.com/watch?v=acQA...
Git tips and tricks. Day 12: git commit -o --dry-run
Have you spent ages carefully creating a set of changes in the staging area to be committed, only to realise that you want to commit a completely different set of files? If so the git commit -o…
www.youtube.com
December 12, 2025 at 8:05 PM
Do you know what git add -N does?

If not, checkout today's git tips and tricks video: www.youtube.com/watch?v=onqS...
Git tips and tricks. Day 9: git add -N
See how you can move untracked files to the working tree using git add -N This allows you to use tools like git add -p on new files.
www.youtube.com
December 9, 2025 at 11:15 AM
Reposted by Dave Liddament
NEW VIDEO: Laravel Best Practices.. Models, Actions, Type Safety, Generics in PHP 9.. 🛡️

20 minutes of pure gold with Brent Roose discussing best practices for building large, maintainable Laravel applications.. ✅

Video here: youtu.be/QFh21mFLH8I?...
Laravel Best Practices: Models, UUIDs by default, Actions, Type Safety, Generics in PHP 9?
YouTube video by nunomaduro
youtu.be
December 8, 2025 at 10:59 AM
Git tips and tricks day 8; it's all about git diff and git restore...

www.youtube.com/watch?v=oBKf...
Git tips and tricks. Day 8: git diff/git restore
In this video we'll see how to use git diff to see what changes we'er about to commit. We'll also see how we can use git restore to unstage changes.
www.youtube.com
December 8, 2025 at 12:01 PM
The PHP Language Extension library v0.10.0 is released. PHP 8.5 is now supported.

This library provides new language features (e.g. namespace visibility) that are enforced by static analysis.

github.com/DaveLiddamen...
GitHub - DaveLiddament/php-language-extensions: Attributes to define new PHP language features (that are enforced by static analysis)
Attributes to define new PHP language features (that are enforced by static analysis) - DaveLiddament/php-language-extensions
github.com
December 7, 2025 at 7:15 PM
Day 7 of git tips and tricks is all about git add. including the flags -A, -u, -n and -p

youtu.be/RDR35zepCgQ
Git Tips and Tricks. Day 7: git add
Learn about the following git add flags: git add - A git add -u git add -n git add -p
youtu.be
December 7, 2025 at 3:28 PM
Day 6 of git tips and tricks... Toady we learn about git shortlog

youtu.be/Wh6oaQu3uwg
- YouTube
Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.
youtu.be
December 6, 2025 at 8:00 AM
Git tips and tricks day 5 - we explore the git show command...

youtu.be/uOHnEgwRJMs
Git tips and tricks day 5: git show
With git show we can look at any git commit, tag or branch. We can also you git show to see the contents of a file at any point in the git repo's history.
youtu.be
December 5, 2025 at 12:47 PM
Git tips and tricks day 4. Learn how git -L can be used to track changes to a method or function.

youtu.be/fOEQSLZ5cDU
Git Tips and Tricks. Day 4: git log -L
Learn how you can follow changes to a single method with git.
youtu.be
December 4, 2025 at 10:03 PM
Day 3 of git tips and tricks. Today it's about git log --follow

youtu.be/x9_BJ6HH9UI?...
Git Tips and Tricks. Day 3: git log --follow
YouTube video by Dave Liddament
youtu.be
December 3, 2025 at 9:09 PM
I've launched version 0.4.0 of test-splitter, which now includes support for PHP 8.5.

Check it out at github.com/DaveLiddamen....
GitHub - DaveLiddament/test-splitter: Splits PHPUnit tests into batches
Splits PHPUnit tests into batches. Contribute to DaveLiddament/test-splitter development by creating an account on GitHub.
github.com
December 2, 2025 at 3:36 PM