You should always commit before sync.

hahaha i got it