Toot

Written by Veit Schiele on 2024-12-28 at 11:45

@ovid IMHO, a better way is to create a .gitignore file with the following content in an empty directory:

[#] ignore everything except .gitignore

!.gitignore

This technique avoids several disadvantages:

• Both .gitignore and log/.gitkeep must be edited.

• When renaming the directory, it is easy to forget to change the .gitignore file as well.

• .gitkeep is a completely normal file for Git; however, the name suggests that the file would be treated specially by Git.

=> More informations about this toot | View the thread | More toots from veit@mastodon.social

Mentions

=> View ovid@fosstodon.org profile

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113730277621395227
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
231.524154 milliseconds
Gemini-to-HTML Time
0.621771 milliseconds

This content has been proxied by September (3851b).