mirror of
https://github.com/Terncode/pixel.horse.git
synced 2026-12-03 05:10:04 +01:00
Provide instructions to ignore file in README
This commit is contained in:
1 parent
cba4e94da2
commit
67446feb6f
1 file changed
+14
@@ -282,3 +282,17 @@ gulp dev --coverage # run with tests and code coverage
|
||||
|
||||
- `src/ts/server/start.ts:35` - adding custom map to the world
|
||||
- `src/ts/server/map/customMap.ts` - commented introduction to customizing maps
|
||||
|
||||
## Have git ignore changes to `sprites.ts`, eventhough it's already in the index
|
||||
|
||||
```bash
|
||||
git update-index --assume-unchanged src/ts/generated/sprites.ts
|
||||
```
|
||||
|
||||
`serve.ts`:
|
||||
|
||||
```bash
|
||||
git update-index --assume-unchanged src/ts/server/server.ts
|
||||
```
|
||||
|
||||
Read more about it [here](https://stackoverflow.com/questions/1139762/ignore-files-that-have-already-been-committed-to-a-git-repository).
|
||||
Reference in new issue
Block a user