is a microblog
home archives search feed blogroll

Quick Typo Fix In Bash

simon$ git comit -m "My commit message"

git: 'comit' is not a git command. See 'git --help'.

simon$ ^comit^commit

It replaces comit with commit in the last command and re-runs it. You don’t need to use complete words, ^omi^ommi would’ve worked too.

Posted on 2018-01-25   #bash     #til  

← Next post    ·    Previous post →