Karnsonline
  • Home
  • Coding
  • Photography
  • Astrophotography
  • Spotify Periodic Rotator
  • Spotify Periodic Rotator (Archive)

git

A collection of 4 posts
Git diff hide package-lock files
git

Git diff hide package-lock files

Do you really need to see a billion lines of diff in a package-lock.json file? I know I rarely benefit from seeing the diff. Wouldn't it be great if those were just collapsed when you run git diff in the terminal? Lets make it happen.
Dec 5, 2024 1 min read
Lint Typescript Before pushing with Pre Push Hooks
git

Lint Typescript Before pushing with Pre Push Hooks

If you aren't linting your Typescript before pushing your code, you are probably pushing bugs.
Oct 20, 2021 2 min read
Add branch name to commit messages
git

Add branch name to commit messages

Let's face it. we have to do some "paper pushing" as a developer sometimes so that all the company's tools work together. USE CASE: As a developer, we are required to add the JIRA ticket number to our commit messages so that the Product
Jul 29, 2021 1 min read
Case Sensitive Git on a Mac like a Boss
git

Case Sensitive Git on a Mac like a Boss

The Problem By default, MacOs uses a filesystem format that is not case sensitive Mac OS Extended (Journaled). That means that the directories a and A are essentially the same. This is a problem when working collaboratively with people using Linux or another case sensitive file system. Real world Example
Aug 23, 2018 1 min read
Page 1 of 1
Karnsonline © 2025
Powered by Ghost