Is your feature request related to a problem? Please describe.
Depending on the type of authentication method used, any commands that interact with a remote repository host (i.e. GitHub, GItLab, etc.) will potentially return errors. This can occur due to:
Describe the solution you'd like
Provide a modal dialog that allow for updating the authentication information. This will likely require the use of getConfig and setConfig for updating the git-config files.
Describe alternatives you've considered
Failing with a error message and requiring the user to switch to the terminal for using git terminal utility would work, but be a bad usability scenario. This would also be an off-ramp from Synectic, which is not what we want.
Additional context
As an example of behavior when using the git terminal utility:
❯ git push origin -d remotes/origin/develop
Username for 'https://github.com': *********
Password for 'https://nelsonni@github.com': *********
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
fatal: Authentication failed for 'https://github.com/EPICLab/ant-design.git/'
Is your feature request related to a problem? Please describe.
Depending on the type of authentication method used, any commands that interact with a remote repository host (i.e. GitHub, GItLab, etc.) will potentially return errors. This can occur due to:
Describe the solution you'd like
Provide a modal dialog that allow for updating the authentication information. This will likely require the use of
getConfigandsetConfigfor updating the git-config files.Describe alternatives you've considered
Failing with a error message and requiring the user to switch to the terminal for using git terminal utility would work, but be a bad usability scenario. This would also be an off-ramp from Synectic, which is not what we want.
Additional context
As an example of behavior when using the git terminal utility: