Repo sync error for Legato 17.09.0

Hi, I’m trying to update my Legato Framework to 17.09.0 but I get the following error after doing a repo sync.

Fetching projects: 100% (22/22), done.
error: Your local changes to the following files would be overwritten by checkout:
components/dataConnectionService/dcsServer.c
Please, commit your changes or stash them before you can switch branches.
Aborting

legato/: discarding 5 commits
error: legato/: legato-af checkout 4bb0cf5d38ab8b662360df1ac82c7afdde7d2c98

I’ve never had this problem before. How do I fix this? Thanks.

Hi @spmaurer,

Looks like you have some local changes that are preventing the checkout.

Maybe stash your changes? Git - Book

cd legato
git add .
git stash
repo sync

Thank you, that worked. I haven’t modified any files intentionally, so I don’t why it thought I had. Doesn’t matter, it working now.