Search code examples
ruby-on-rails-4capistrano

Does capistrano deploy only the last commit or all the commits in order?


Wrote a nasty migration, committed and then removed the file and committed again.

If I deploy will it process the file or not?

Thank you.


Solution

  • Capistrano deploys the state of your git repository as of the latest commit in the branch you are deploying. If you added a file and then later removed it, then no, it will not be included when you deploy.