causes/git_deploy — comment on commit 2c9d6816f9b8767c3817b98fcf91edbe09498a09
File: checkout_and_update.sh line 27
By ayumi:

Hmmm.. wait, what happened?

On Wed, Nov 2, 2011 at 2:25 PM, Jay Adkisson

wrote:
> I recommend using `git checkout -f $revision` - it's less prone to failure because it doesn't modify the currently checked out branch. In our setup, `$revision` is "origin/production" in production, and "origin/master" in staging.
>
> --
> Reply to this email directly or view it on GitHub:
> https://github.com/causes/git_deploy/commit/2c9d6816f9b8767c3817b98fcf91edbe09498a09#commitcomment-691558
>