mirror of
https://github.com/Terncode/pixel.horse.git
synced 2026-09-24 13:55:04 +02:00
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:
committed by
Mathieu CAROFF
parent
b4f224f5da
commit
309eeb207e
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user