We should check whether any uncommitted changes are present in the workspace before running the git fetch command.
$ pdk pull components
http://pdk.64studio.net/channels/debian/testing//etc/schema
|============================================================|
http://pdk.64studio.net/channels/debian/testing//etc/cache/blob_list.gz
|============================================================|
pdk INFO: Building channel index...
pdk INFO: Finished building channel index.
From http://pdk.64studio.net/channels/debian/testing//etc/git
* [new branch] master -> components
pdk ERROR: Invalid input: Cannot merge with uncommitted changes in the workspace.