bash

Determine if a file is binary using GIT

less than 1 minute read

Sometimes it’s nice to know if a file is a binary file or a text file from the command line (Such as when building an api to display files stored in a git re...