system('git commit -a -m "quick commit" ');
system('git push');
然後在 ~ 創建一個 .bash_profile,寫了一個捷徑
alias push='php /Users/XXX/Projects/XY/push.php'
但我想實現的是:
假設我輸入 push "GOOD BADDDD"我就能在 push.php 中取到這個值,並取代 quick commit 變成我剛打的 GOOD BADDDD 這是有可能實現的嗎?
- 3 回答
- 0 关注
- 399 浏览
添加回答
举报
0/150
提交
取消