If you add a file to git, its contents (the blob) will get stored 

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 

If you add a hard-link, it looks like the contents of the linked file gets 

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 

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 
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to