---
title: "How to mark something as binary in git — Franco Gilio"
description: "Sometimes you may want to override git&#039;s decision of wheter a file contains text or binary data. For example, you may have to pull in some external librar…"
canonical: "https://publica.now/creators/franco-gilio/works/how-to-mark-something-as-binary-in-git"
---

      Literary # How to mark something as binary in git

    [  FG  

Franco Gilio

 

 ](https://publica.now/creators/franco-gilio)      Follow     

 

   

    Free      [ Sign in to read now ](https://publica.now/access?redirect=%2Fcreators%2Ffranco-gilio%2Fworks%2Fhow-to-mark-something-as-binary-in-git)    

   

   Share Link copied  

  Format epub 

   Published Apr 05, 2018 

  Rating  No reviews yet  

 

 

 

   ![How to mark something as binary in git](https://fls-a13cb2d7-1b3e-4883-a0bd-297afd110a11.367be3a2035528943240074d0096e0cd.r2.cloudflarestorage.com/works/01kqmk5r49rebm9rfh94f33h2c/cover.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=d29ce3bb571c165c97a702f29f7aee93%2F20261015%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20261015T203000Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=a96326cfd0be21473267b7d240c08cf76a5726f470e231b8c0acf8ae4d9a2b37)  

 ## About this work

Sometimes you may want to override git's decision of wheter a file contains text or binary data. For example, you may have to pull in some external library and want git to track it but not diff it ins…

 

     [ #code ](/search?query=code) [ #tutorials ](/search?query=tutorials)  

 ## Reviews

  No reviews yet. Be the first to share your thoughts.  

  [Sign in to leave a review](https://publica.now/access?redirect=%2Fcreators%2Ffranco-gilio%2Fworks%2Fhow-to-mark-something-as-binary-in-git)

   No reviews yet. Be the first to share your thoughts.

 

  

 

 

 

    More from Franco Gilio

## Works

  

  [See all →](/creators/franco-gilio)  

  [  ![Cherry-picking your way out of trouble](https://fls-a13cb2d7-1b3e-4883-a0bd-297afd110a11.367be3a2035528943240074d0096e0cd.r2.cloudflarestorage.com/works/01kmn1mt2d7vkaxf4027gn5mb8/cover.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=d29ce3bb571c165c97a702f29f7aee93%2F20261015%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20261015T203000Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=f7222b5c187d7311f21c831f8d130c719bc2f1a061cf7c3921c6621ae4338062)   Literary    

### Cherry-picking your way out of trouble

   Franco Gilio     Free      102 

   

 ](/creators/franco-gilio/works/cherry-picking-your-way-out-of-trouble) [  ![Going static, 2026 edition](https://fls-a13cb2d7-1b3e-4883-a0bd-297afd110a11.367be3a2035528943240074d0096e0cd.r2.cloudflarestorage.com/works/01kqmk5pjda9hrrmhe9c7r8hfr/cover.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=d29ce3bb571c165c97a702f29f7aee93%2F20261015%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20261015T203000Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=d467a46c269e9c09fbecb270f6a91d76d54f28d50fe2e65df151d02a85e63286)   Literary    

### Going static, 2026 edition

   Franco Gilio     Free      62 

   

 ](/creators/franco-gilio/works/going-static-2026-edition) [  ![Going static, 2026 edition](https://fls-a13cb2d7-1b3e-4883-a0bd-297afd110a11.367be3a2035528943240074d0096e0cd.r2.cloudflarestorage.com/works/01kqmvw1ts32872f2g8j91zj6c/cover.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=d29ce3bb571c165c97a702f29f7aee93%2F20261015%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20261015T203000Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=bfc45c8372bca473452fccdbc5b2de270426dfbf095afb6b3789712a48ea307a)   Literary    

### Going static, 2026 edition

   Franco Gilio     Free      65 

   

 ](/creators/franco-gilio/works/going-static-2026-edition-1) [  ![Going static](https://fls-a13cb2d7-1b3e-4883-a0bd-297afd110a11.367be3a2035528943240074d0096e0cd.r2.cloudflarestorage.com/works/01kqmk5pvmykqf5z0ta58hgyb5/cover.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=d29ce3bb571c165c97a702f29f7aee93%2F20261015%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20261015T203000Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=d602fbc0444d11aa84d464cb2abfdb8d6f63798729e1b4daeb4758a241fa2657)   Literary    

### Going static

   Franco Gilio     Free      60 

   

 ](/creators/franco-gilio/works/going-static)  

  



  Free  

  [ Sign in to read now ](https://publica.now/access?redirect=%2Fcreators%2Ffranco-gilio%2Fworks%2Fhow-to-mark-something-as-binary-in-git)
