- Published at
- Updated at
- Reading time
This post is part of my Today I learned series in which I share all my web development learnings.
Another very quick one – I just watched one of our weekly team calls and my new colleague Tilde shared that git has an auto correct feature. Very useful. 👌
For now I'm running with the following config which gives me four seconds of time to cancel if the correction is not what I want.
autocorrect = 40
If you want to learn more have a look at the git docs.
Starting with git
2.34 autocorrect provides a new
prompt configuration. The autocorrect options are now:
never – don't autocorrect (not helpful)
immediate – autocorrect automatically (too much)
40 – autocorrect after a delay (doesn't feel right)
prompt – ask if autocorrection should be applied (just perfect!)
Was this TIL post helpful?
Yes? Cool! You might want to check out Web Weekly
for more quick learnings. The last edition went out 7 days ago.