apollo icon indicating copy to clipboard operation
apollo copied to clipboard

Failed to update my forked repository to the latest master branch.

Open davidhopper2003 opened this issue 7 years ago • 4 comments

I migrated Apollo master branch to the latest version according to the document Migrate to Apollo master from old versions. The migration task was completed successfully. But when I updated my forked repository with thegit push -f origin master command, the following error occured:

open /home/davidhopper/code/apollo/docs/specs/Camera/images/Argus_Specs1.png: no such file or directory                                                                                                             
error: failed to push some refs to '[email protected]:davidhopper2003/apollo.git'

My remote repositories are shown as follows: remote_repo

How can I solve it? Thank you.

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 14.04): Linux Ubuntu 16.04
  • Apollo installed from (source or binary): source
  • Apollo version (1.0, 1.5, 2.0, 2.5, 3.0): > 3.0, latest master branch

davidhopper2003 avatar Dec 20 '18 07:12 davidhopper2003

@davidhopper2003 could you try restarting the build process and let us know if you see the same error?

natashadsouza avatar Dec 20 '18 09:12 natashadsouza

@natashadsouza Thanks for your reply. The build process was successfully completed. I got the above error when I forced updating the local master branch to my forked repository. In other words, I couldn't update the master branch of my personal forked repository with the latest apollo master branch.

davidhopper2003 avatar Dec 21 '18 01:12 davidhopper2003

@davidhopper2003 Try this git lfs fetch --all before git push. I just updated my fork successfully without deleting the repo.

diegohu avatar Dec 21 '18 08:12 diegohu

@diegohu You are awesome! Thank you very much.

davidhopper2003 avatar Dec 21 '18 08:12 davidhopper2003