Created
March 16, 2023 18:42
-
-
Save pauloantonelli/c7f985e28b17ccb827e7dfe3593e723b to your computer and use it in GitHub Desktop.
Colocar vsCode como Editor de Git
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vscode como editor padrão do git : | |
git config --global core.editor "code -w" | |
comando para verficar se a instalação foi feita correto : | |
git config --global -e | |
Se der algum erro como: | |
"hint: Waiting for your editor to close the file... code -w: code: command not found error: There was a problem with the editor 'code -w'". | |
Vá no VS Code > command(control) + shift + p > procure por code > escolha Shell Command: Install ‘code' command in PATH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment