Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save francois-blanchard/1312d970de00ff895dc0 to your computer and use it in GitHub Desktop.
Save francois-blanchard/1312d970de00ff895dc0 to your computer and use it in GitHub Desktop.
Error Capistrano deploy - fatal: Could not parse object 'xx...xx'

Error Capistrano deploy - fatal: Could not parse object 'xx...xx'

  1. Connect you to your server $ ssh user@myserver
  2. Go to your deploy path and select the shared directorycd /your/directory/deploy/shared
  3. Remove the git cache rm -rf cached-copy
  4. Retry to deploy & have fun ;)
@a2f0
Copy link

a2f0 commented Aug 24, 2018

Thank you.

@MarkMekhaiel
Copy link

Yeah you saved my bacon with this - many thanks!

@ionutvs
Copy link

ionutvs commented Jan 7, 2021

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