Read the statement by Michael Teeuw here.
Question about backup script
-
@rkorell you HAVE the git cli
git --help
(–local means in this folder only)git config --local user.name “your name”
git config --local user.email “your email”see here
https://stackoverflow.com/questions/35942754/how-can-i-save-username-and-password-in-git
and username means github userid
-
@sdetweil said in Question about backup script:
@rkorell the SCRIPT does not prompt
I use these git config parmsOK, where do you get this from?
If I have a look at your other post „local means this folder only“ let me assume that you may look at „$HOME/MagicMirror/.gitconfig“
Is this true?
Than this cannot work because mygit config --global --edit
created a .gitconfig in $HOME …
Will at least try your suggestion with git config … (THANKS for this - the stackoverflow article will be chacked as well)
Warmest regards,
Ralf
-
@rkorell if you don’t have a global ($HOME) git config,
i dont presume to decide this for you.
so i only set it in the MM_backup folder -
@rkorell git will look local first and global second
-