Now we can try some git interactive command such as git rebase -i before change the git editor configīefore the change the interface looks like the above, you have to be comfortable in order to know all the git interactive flags. gitconfig file this should allow the git command line to continue. gitconfig file tool = default-difftool cmd = code -wait -diff $LOCAL $REMOTE Hint: Waiting for your editor to close the file.Īppend the additional setting to your. Next enter, this should bring up VScode and prompt the. Now follow the steps to update git config: ❯ git config -global core.editor "code -wait" ![]() If you are unhappy with the result, you can always go back. In this article, we will look at how to properly set up your Visual Studio Code as your default git command-line editor along with an enhanced GitLense extension. If you use the git command line as your main go-to interface whether is how you learned or it’s your preferred method to interact with git, your user experience would only get better (hopefully) if you opt for an additional editor as your default client other than the command-line interface.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |