The Fuck is a magical command that quickly corrects The last console command

For example,

➜ git push
fatal: The current branch master has no upstream branch.
To push the current branch and setthe remote as upstream, ➜ fuck git push --set-upstream origin master [Enter /↑/↓/ CTRL + C] Counting objects: 9,done.Copy the code
➜ git brnch
git: 'brnch' is not a git command. See 'git --help'. Did you mean this? Branch ➜ fuck Git branch [Enter /↑/↓/ CTRL + C] * masterCopy the code

Star

reference

nvbn/thefuck


Welcome to follow my wechat official account: The Coder of wind and waves