GitAttributesTest is a project mainly written in Shell, it's free.
Showing how gitattributes can help you maintain a config file while keeping your config secrets from commits
This is a simple way to show people how to use .gitattributes to maintain a personal secrets/config file, and never have it commited into git.
./setup
(you run this as part of the cloning process, run it only once)cat config
it should contain config stuff, with "PUT_YOUR_SECRET_HERE"cat config
, it'll have your secretgit status
, it shows the file as modified (annoying but bare with it)git commit -av
, says "nothing to commit"... ok looking good.git archive --format=tar master > file.tar
, then unpack the tar, cat config
within the tar and you should see "PUT_YOUR_SECRET_HERE"