From e8d4aa0ae7ae63d17082e5da0401c63b16eb5ecc Mon Sep 17 00:00:00 2001 From: Hannes Date: Wed, 19 Nov 2025 19:11:27 +0100 Subject: [PATCH] git config auto login --- git/config.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/git/config.md b/git/config.md index e06c585..6cde1fc 100644 --- a/git/config.md +++ b/git/config.md @@ -25,10 +25,26 @@ cat /path/to/password/file Example ``` #!/bin/bash -cat /path/to/password/file +cat $HOME/.cred/git_password.txt ``` Empty: ``` #!/bin/bash cat +``` + +# The file that the script calls needs to have the following content: +``` +username=username +password=password +``` +Example +``` +username=Max +password=123 +``` +Empty: +``` +username= +password= ``` \ No newline at end of file