DEV Community

Discussion on: July 31st, 2020: What did you learn this week?

Collapse
 
thinkverse profile image
Kim Hallberg

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. 😎 👍

Collapse
 
nickytonline profile image
Nick Taylor

Pam from The Office saying Nice!

Collapse
 
otolock profile image
Antonio Santos

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.

Collapse
 
nickytonline profile image
Nick Taylor

Chow Yun-fat giving a thumbs up