I've set up Sublime text 3 as my text editor for git. For some reason when I run any kind of command that opens up the text editor, two windows open up.

Here are all the commands I've run when I initially set up my git

(And obviously I filled out the stuff that I was supposed to. This is just what was provided to me as part of the Udacity Course I am taking.

sets up Git with your name

git config --global user.name "<Your-Full-Name>"

sets up Git with your email

git config --global user.email "<your-email-address>"

makes sure that Git output is colored

git config --global color.ui auto

displays the original state in a conflict

git config --global merge.conflictstyle diff3

git config --list

Setting up Sublime Text 3

git config --global core.editor "'C:/Program Files/Sublime Text 3/sublime_text.exe' -n -w"

Just wondered if anyone out there has experienced the same thing or knew what could possibly be going on.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.