From 0d61a089e7e03bcfc85d30dff218d03478e913f8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?=
Date: Sun, 10 Jan 2016 19:27:20 +0100
Subject: Update user guide
---
guide/getting_started.html | 7 ++++++-
guide/index.html | 2 +-
2 files changed, 7 insertions(+), 2 deletions(-)
(limited to 'guide')
diff --git a/guide/getting_started.html b/guide/getting_started.html
index c9d4bba..b34b6e0 100644
--- a/guide/getting_started.html
+++ b/guide/getting_started.html
@@ -132,7 +132,12 @@ using the gen_server
template.
All that’s left to do is to open it in your favorite editor
-and make it do something!
2.8. Hiding Erlang.mk from git
Erlang.mk is a large text file. It can easily take a large part of
+a git diff
or a git grep
command. You can avoid this by telling
+Git that erlang.mk is a binary file.
Add this to your .gitattributes file. This is a file that you
+can create at the root of your repository:
erlang.mk -diff
The erlang.mk file will still appear in diffs and greps, but
+as a binary file, meaning its contents won’t be shown by default
+anymore.