Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+46 votes

When you installed git, you could have changed the default editor to "nano" (instead of vim, which is a very confusing editor), but you probably didn't know to do that.

Answer: To change the default editor now, from git bash, run:

git config --global core.editor "nano"

asked in CSC285_Fall2018 by (3.5k points)
edited by

1 Answer

+16 votes

To change the default editor to nano, from git bash, run:

git config --global core.editor "nano"

answered by (3.5k points)
...