News for hackers. Stuff that matters.
Re:Little is a statically typed, C-like scripting language by temporallobe on Saturday February 20, 2021 @10:27PM (#26210550)
I know Git quite well at this point in my career, but it’s still a very baffling and often frustrating SCM tool in my opinion. I find it disconcerting that despite many years with it, I still feel like I don’t totally comprehend what really is happening under the hood. There seems to be a lot of magic. I still have a sense of apprehension every time I do a rebase, and after successful conflict resolution I am surprised that it somehow worked given how messy and convoluted the rebase workflow is.

One of the oddest things I more recently learned about Git is that you can’t create empty folders. The workaround is to create an empty file (e.g., a README)!

That being said, entire careers are built on this powerful yet odd tool that has somehow become the most popular SCM system in the world.

Re:Little is a statically typed, C-like scripting language by scruple on Sunday February 21, 2021 @12:33AM (#26211087)
> One of the oddest things I more recently learned about Git is that you can’t create empty folders. The workaround is to create an empty file (e.g., a README)!

The convention I've seen is `.keep` and `.gitkeep`.