If you add a file to git, its contents (the blob) will get stored regardless.
I have no idea what the effect of adding devices, blocks or channels, but symbolic links are just stored as you would expect. The contents of the linked directory are not added, only the link itself. If you commit it, and clone it into another repository, the link is restored, with the same value. If you add a hard-link, it looks like the contents of the linked file gets added. I have no idea why you would want to do any of this though. I would generally regard having these special files inside your source code as a bad idea. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To view this discussion on the web visit https://groups.google.com/d/msg/git-users/-/gkaT6Iesn4sJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
