git - 别名 git stash poop to pop?

标签 git command-line command-line-interface

这确实是一个愚蠢的问题,但老实说我不知道​​这是否可能。

我经常打错“git stash pop”(不管为什么)。我可以将我的拼写错误映射/快捷方式/别名到它应该是什么吗?

最佳答案

git config --global alias.sp 'stash pop'

然后 git sp 扩展为 git stash pop

关于git - 别名 git stash poop to pop?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8887708/

相关文章:

command-line - 如何显示共同点(反向差异)?

c# - 在 C# 中打开命令行并发送命令 PuTTY 或 KiTTY

groovy - 从放置在 war 中的 groovy jar 运行 Groovy CLI

ruby-on-rails - Heroku Ruby 版本不会升级?

mysql - 将 mySQL 表导出到 OpenOffice 电子表格

git - 无法自定义 git commit-msg Hook

angular - 使用 npm 安装 Angular-cli 时出错

node.js - 如何在 blessed 中重定向标准输出?

regex - Mac OS X 和 BSD 上的“git grep”和单词边界

git - 如何将我的 git repo 的一部分推送到 Heroku?