Upgrade Error With Gemfile

Attempted to upgrade from old version to the latest release and getting error

$ git checkout v1.4.3

error: Your local changes to the following files would be overwritten by checkout:
Gemfile.lock
Please, commit your changes or stash them before you can switch branches.
Aborting

How can I fix this?

Not sure if it matters but upgrading from 1.4.1

Should I git checkout v1.4.2 first and then git checkout v1.4.3

@pierre

Try

git fetch && git checkout v1.4.3

You shouldn’t have to go through 1.4.2 as only the code was changed.