I actually learned that you can add multiple lines to a git commit simply by pressing enter without the closing quote, it automatically moves you to a new line, over 8 years of using git, and I just learned it this week. 😎 👍
If you enter just ‘git commit’ it’ll open your commit in nano. You can enter a brief commit message followed by as many paragraphs as you want explaining your commit.
I’m not sure if you can change your default text editor to use whichever you prefer.
I actually learned that you can add multiple lines to a
git commit
simply by pressing enter without the closing quote, it automatically moves you to a new line, over 8 years of using git, and I just learned it this week. 😎 👍If you enter just ‘git commit’ it’ll open your commit in nano. You can enter a brief commit message followed by as many paragraphs as you want explaining your commit.
I’m not sure if you can change your default text editor to use whichever you prefer.