0
On the computer I work, there was another user. However I have to create a new ssh key and a new user.
But when I execute the commands:
$ git config --global user.name "alex Jose silva"
I get the message:
error: could not lock config file C:/Program Files (x86) /GNU/SSH/. gitconfig: Permission denied
I chose to delete the SSH folder from the computer because error persists
error: could not lock config file C:/Program Files (x86) /GNU/SSH/. gitconfig: No such file or directory
Tried to run with the
terminal
in administrator mode? The second error is because you deleted the files.– Valdeir Psr
Yes...I get this message: Could not create directory '/c/Program Files (x86)/GNU/SSH/. ssh': No such file or directory
– alexjosesilva
As I said earlier, this mistake is because you deleted the files. Restore the files and try the terminal/prompt in administrator mode. Or change the file directly.
– Valdeir Psr
No way to restore files...
– alexjosesilva
I did a new git installation at zero
– alexjosesilva
Already tried to reinstall the software for it to restore the files?
– Valdeir Psr
Yes. But without success
– alexjosesilva
I have now chosen to generate the SSH key
– alexjosesilva
and create new user
– alexjosesilva
and when I run the command: $ git config --global user.name "alex.jose.silva"
– alexjosesilva
I get this message: error: could not lock config file C:/Program Files (x86)/GNU/SSH/. gitconfig: No such file or directory
– alexjosesilva