【发布时间】:2012-01-18 12:49:53
【问题描述】:
我通常运行以下命令来部署特定应用:
compass compile -e production --force
git add .
git commit -m "Some message"
git push
git push production master
我怎样才能把它包装成一个命令?
我需要能够自定义提交消息。所以命令可能看起来像:
deploy -m "Some message"
【问题讨论】:
标签: linux bash shell command-line