1
SpicyCat 2016-11-26 11:56:21 +08:00 1
alias pull='git pull'
|
2
DiamondbacK 2016-11-26 14:06:00 +08:00 1
cmd: doskey pull=git pull
PowerShell: function pull() { git pull } |
3
DiamondbacK 2016-11-26 14:16:41 +08:00 1
pull.bat: @git pull
pull.vbs: WScript.CreateObject("WScript.Shell").Run('git pull') pull.js: (new ActiveXObject("WScript.Shell")).Run('git pull') |
4
Arnie97 2016-11-26 16:19:10 +08:00 1
Bash 黑魔法:
function command_not_found_handle { git $1 return $? } 注:*nix 用户使用时,请注意协调原有的 command_not_found (负责找不到命令时,自动提示你需要安装什么 package 才能获得这个命令) |