Why Rails has multiple schema formats When you run migrations, Rails will write your current database schema into db/schema.rb. This...
Added methods to keep the line number steady while you time-travel between commits: Copy the file to a new...
Git has the concept of hooks: bash scripts that are invoked at certain points in the Git lifecycle. One handy...
With this command you can run all the spec files which have been edited or added in the current branch...
As we're switching from PT to Linear, I've updated the existing bash script to work for commits that...
If you are using git submodules in Gitlab CI, you might run into a "The project you were looking for...
Sometimes you have a file that is related to a project, while not actually being part of it. You'd...
You can ignore certain commits when using git blame with the --ignore-revs-file option. This is handy to ignore...
Both knapsack and parallel_tests have the option to split groups by historic execution time. The required logs for this...
For my computer science bachelor's thesis I programmed and evaluated a CLI Test Case Prioritization (TCP) tool for makandra...
The git doc states on the difference of these two commands: git-restore[1] is about restoring files in the...
Git log offers useful options for filtering. This card provides a short overview. By message Only commits that include a...
Sometimes you'll find yourself with a set of tasks that require similar code for different models. For example, if...
Splitting up commits makes the process of reviewing often easier, since you can create several merge requests or review every...
It most cases it's not necessary to add a version constraint next to your gems in the Gemfile. Since...
If you have a fully functional CI pipeline but no CD, you might find yourself frequently waiting for CI (with...
Git commands like diff use the less binary for their output representation. I often find myself searching for strings like...
This is a checklist I use to work on issues. For this purpose I extracted several cards related to the...
Sometimes I ran across a GitHub merge request of a gem where it was not completely obvious in which version...
The linked article found a simple way to rewrite legacy git aliases to make them work with differently named default...
Bundler so far ignored the version specified under BUNDLED_WITH in the Gemfile.lock. This had two annoying consequences:
Git allows you to set push options when pushing a branch to the remote. You can use this to build...
tl;dr git checkout is the swiss army of git commands. If you prefer a semantically more meaningful command for...
tl;dr git checkout is the swiss army of git commands. If you prefer a semantically more meaningful command for...