Or you could reset your local branch, do the changes and then force update the remote branch.