I type
git puhs
And git says:
kristian@office:~/myrepo$ git puhs
git: 'puhs' is not a git command. See 'git --help'
Did you mean this?
push
What is the config setting to make git just do the suggested command if it only has one suggestion ?
According to git-config(1), you want to set
help.autocorrectappropriately. For example,git config --global help.autocorrect 5will make it wait half a second before running the command so you can see the message first.