Elegant Source Control (3): Using Git Rebase Gracefully, Locally
One thing I have to rant about: I see tons of Merge commits in projects, but that's not how Merge is meant to be used. Most of the time, you should be rebasing.
107 posts
One thing I have to rant about: I see tons of Merge commits in projects, but that's not how Merge is meant to be used. Most of the time, you should be rebasing.

As you keep using Git, understanding how it actually works makes many problems easier to grasp — rebasing, divergence, and so on. I recommend every Git user understand how Git works. Understand it — no need to master it. So a light read is all you need, and I won't go deep either.

In everyday development, as a tech manager I keep seeing developers who freeze up on conflicts or even lose code, commit histories flooded with Merge commits, careless and chaotic commit messages, and so on. So I want to write this series to help developers use Git quickly and gracefully.

In Spring projects we often use maven variables to switch environments — for example the @activatedProperties@ placeholder in this post, passed in at maven packaging time so the config file can switch between runtime environments.

What's a cron expression? If you're reading this, you probably already know what it's for: when setting up scheduled tasks on Linux, Spring or Quartz, you write a cron expression to define the execution cycle. Cron is pronounced /krɒn/ — like 'chron' in chronology.

My site's public IP service, ip.renfei.net, is used by many people. On May 10, 2022 a user named Qin Yi'nan left a message asking for geolocation support — and here it is.

GitHub now scans public and private repositories for WeChat keys and tokens — including those for WeChat Official Accounts, Mini Programs, and WeChat Pay — and forwards them to Tencent. You'll get a key leak notification on Tencent's side.

Spring Boot 3.0.0 was officially released on November 25, 2022. As someone who likes chasing the new and eating crab first, I had to upgrade and try it. In the end, though, I gave up.

Ever wondered how Git and JH GitLab work? Now grab your favorite IDE and set off on an exploration with us.

Today is the last day of the JH GitLab JIHULAB 101 creator camp. As my closing piece, let me share my story with JH and my experience using the JH GitLab SaaS platform.
