Add sprites.ts ignore explanation

Content provided by Eliot Partridge:
https://github.com/ponydevs/pixel.horse/pull/91#issuecomment-529270365
This commit is contained in:
Eliot Partridge authored and Mathieu CAROFF committed 2019-09-09 22:48:52 +02:00
1 parent b4f224f5da
commit 309eeb207e
1 file changed
+2
+2
View File
@@ -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
```