git Tips and Tricks

Jake G August 04, 2022 #Development #Git

This page will outline useful information related to the usage of git.

It is useful to get an overview of your changes when using git, so that you can choose a good commit message.

Previously I would use git diff * the problem is that when you have bundled and minified files the output of git diff is enormous and not helpful.

The solution that I have found is the following command, which omits minified files (files that contain .min. in their filename.):

git diff * ':(exclude)*.min.*'