From 309eeb207ea0b3e210e62818566b3c2176def3a6 Mon Sep 17 00:00:00 2001 From: Eliot Partridge Date: Mon, 9 Sep 2019 22:48:52 +0200 Subject: [PATCH] Add `sprites.ts` ignore explanation Content provided by Eliot Partridge: https://github.com/ponydevs/pixel.horse/pull/91#issuecomment-529270365 --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index a0c761d..7ca8560 100644 --- a/README.md +++ b/README.md @@ -285,6 +285,8 @@ gulp dev --coverage # run with tests and code coverage ## Have git ignore changes to `sprites.ts`, eventhough it's already in the index +Due to an issue with the build system, an old copy of `src/ts/generated/sprites.ts` is shipped with this repository. In order to prevent Git from seeing changes to this file from local builds and warning you about them when changing branches or pulling new changes, you can use the following command: + ```bash git update-index --assume-unchanged src/ts/generated/sprites.ts ```