Using mina to deploy a particular commit

set :commit, HASH (Thee cheers to the contributors to mina for having that). Now that made our life easier for the future. We just added the following line to our deploy.rb set :commit, ENV['COMMIT'] so now we can deploy a particular hash by passing that hash as an environment variable. mina deploy COMMIT=thegitcommithash note: If no hash is passed (eg: mina deploy), it would just deploy the master.  ]]>