git has an auto-correct flag (#tilPost)

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 runn…


This content originally appeared on Stefan Judis Web Development and was authored by Stefan Judis

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. ?

Two terminal windows: one showing git complaining about an unknown command `stats` and another one automatically fixing the command

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.

 [help]
     autocorrect = 40

If you want to learn more have a look at the git docs.


Reply to Stefan


This content originally appeared on Stefan Judis Web Development and was authored by Stefan Judis


Print Share Comment Cite Upload Translate
APA
Stefan Judis | Sciencx (2022-12-02T20:15:15+00:00) » git has an auto-correct flag (#tilPost). Retrieved from https://www.scien.cx/2019/05/28/git-has-an-auto-correct-flag-tilpost/.
MLA
" » git has an auto-correct flag (#tilPost)." Stefan Judis | Sciencx - Tuesday May 28, 2019, https://www.scien.cx/2019/05/28/git-has-an-auto-correct-flag-tilpost/
HARVARD
Stefan Judis | Sciencx Tuesday May 28, 2019 » git has an auto-correct flag (#tilPost)., viewed 2022-12-02T20:15:15+00:00,<https://www.scien.cx/2019/05/28/git-has-an-auto-correct-flag-tilpost/>
VANCOUVER
Stefan Judis | Sciencx - » git has an auto-correct flag (#tilPost). [Internet]. [Accessed 2022-12-02T20:15:15+00:00]. Available from: https://www.scien.cx/2019/05/28/git-has-an-auto-correct-flag-tilpost/
CHICAGO
" » git has an auto-correct flag (#tilPost)." Stefan Judis | Sciencx - Accessed 2022-12-02T20:15:15+00:00. https://www.scien.cx/2019/05/28/git-has-an-auto-correct-flag-tilpost/
IEEE
" » git has an auto-correct flag (#tilPost)." Stefan Judis | Sciencx [Online]. Available: https://www.scien.cx/2019/05/28/git-has-an-auto-correct-flag-tilpost/. [Accessed: 2022-12-02T20:15:15+00:00]
rf:citation
» git has an auto-correct flag (#tilPost) | Stefan Judis | Sciencx | https://www.scien.cx/2019/05/28/git-has-an-auto-correct-flag-tilpost/ | 2022-12-02T20:15:15+00:00
https://github.com/addpipe/simple-recorderjs-demo