Commit and push a Git repository using Rails
This question already has an answer here:
Most languages will let you execute command line expressions and capture the output. This might be lighter weight than installing a gem for every command you might want to run.
[1] Running command line commands within Ruby script
链接地址: http://www.djcxy.com/p/18924.html上一篇: Git分支工作流程
下一篇: 使用Rails提交并推送Git存储库