Update all repos fails

Post here to get support
Post Reply
CliffH
Beginner
Posts: 28
Joined: Mon Jun 16, 2014 5:45 pm

Update all repos fails

Post by CliffH »

In the VM+0.5, when I execute the Update all repos icon, I get the following error:

Updating /home/bitcraze/projects/crazyflie-firmware
Updating bbae9a9..ead7f60
error: Your local changes to the following files would be overwritten by merge:
Makefile
Please, commit your changes or stash them before you can merge.
Aborting

How do I fix this? I haven't made any changes to the firmware, although I have looked at a few source files.
chad
Expert
Posts: 555
Joined: Sun Sep 28, 2014 12:54 am
Location: New York, USA
Contact:

Re: Update all repos fails

Post by chad »

Double-click the "Terminal Emulator" icon on the desktop and enter the following three commands:

Code: Select all

cd ~/projects/crazyflie-firmware
git checkout -- Makefile
git pull
That should fix it and bring the crazyflie-firmware repository up-to-date.
Crazyflier - my CF journal...
4x Crazyflie Nano (1.0) 10-DOF + NeoPixel Ring mod.
3x Crazyflie 2.0 + Qi Charger and LED Decks.
Raspberry Pi Ground Control.
Mac OS X Dev Environment.
Walkera Devo7e, ESky ET6I, PS3 and iOS Controllers.
Post Reply