diff --git a/git/config.md b/git/config.md new file mode 100644 index 0000000..e06c585 --- /dev/null +++ b/git/config.md @@ -0,0 +1,34 @@ +### Notes about the ```config``` file in the ```.git``` directory + +### Auto Password: +# Add the lines to the : +``` +[credential] + helper = !/path/to/script.sh +``` +Example +``` +[credential] + helper = !$HOME/.bin/git_password_helper.sh +``` +Empty: +``` +#!/bin/bash +cat +``` + +# In the script have the following lines: +``` +#!/bin/bash +cat /path/to/password/file +``` +Example +``` +#!/bin/bash +cat /path/to/password/file +``` +Empty: +``` +#!/bin/bash +cat +``` \ No newline at end of file