Backticks in Git Commit Messages
Recently I wanted to have backticks in my git commit message. It didn’t work as expected though.
Recently I wanted to have backticks in my git commit message. It didn’t work as expected though.
I prefer to use Git from the command line, but sometimes a GUI tool does a better job with specific tasks. One of those is diff highlighting, but today I found a way to make diffing with the Git CLI a lot nicer. Let’s look at an example.
Is git rebase a command to be avoided at all cost? I say no. Here’s one use case where I reach for rebase instead of merge.
My preferred workflow is to be able to push changes into production using git. However, sometimes the project/server doesn’t support this (yet). In these scenarios, it is very useful to be able to see which files have not yet been pushed to origin. Here is a nice one-liner that does exactly this: