getkirby / starterkit

Kirby's sample site – the easiest way to get started with Kirby
https://getkirby.com
176 stars 51 forks source link

Add .lock files to .gitignore #7

Closed texnixe closed 4 years ago

riftshadow commented 2 years ago

@bastianallgeier isnt it bad practise to add actual .lock file to the .gitignore?

bastianallgeier commented 2 years ago

@riftshadow no, it makes perfect sense. The lock files contain temporary data about locked pages. I cannot see a use case where you want to keep them stored in your repo and sync them between different environments. But if there's one, it's easy to remove the rule from the gitignore again.