The GitHub CLI has a lot of interesting functionalities. If you usually review PR in your local machine, it has a command to switch your local branch to the PR branch, so you can start reviewing it in a few seconds.
Slides from my talk at Coruña WordPress meetup (November 3, 2022).
Updating WordPress to the nightly version
Sometimes, it is useful to use the WordPress nightly version on your local environment, to avoid problems with your code in the near future.
Update the own URL when you add an SSL certificate in WordPress with the WP-CLI
When you add an SSL certificate to a WordPress site, you have to update all the own references on the website, changing the ‘http’ string to ‘https’.
In this post I will explain how to do it with the ‘search-replace‘ subcommand of WP-CLI.