- Connect you to your server
$ ssh user@myserver
- Go to your deploy path and select the shared directory
cd /your/directory/deploy/shared
- Remove the git cache
rm -rf cached-copy
- Retry to deploy & have fun ;)
Last active
January 13, 2021 10:05
-
-
Save francois-blanchard/1312d970de00ff895dc0 to your computer and use it in GitHub Desktop.
Error Capistrano deploy - fatal: Could not parse object 'xx...xx'
Yeah you saved my bacon with this - many thanks!
my problem was a gem that had the history rewritten, so the commit hash saved to Gemfile.lock no longer existed, so i needed to update the gem one minor version up to fix it
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you.