DEV Community

Discussion on: Useful GIT Config Tips

Collapse
 
jpchateau profile image
Jean-Philippe Chateau

Thank you for sharing your tips with us!

I also use these two more commands when I install Git on a new machine:

  1. git config --global core.editor vi
    To be sure vi is my default editor for editing commit messages (instead of emacs).

  2. git config --global help.autocorrect 1
    To execute the right command when my fingers do a typo

Collapse
 
nedsoft profile image
Chinedu Orie

Thanks for sharing. Those are quite useful tips.