I try to decrease the number of commits in the history using the squash
. I work alone, workflow is the simplest. I have not created any branches other than master
.
This is the code and result:
$ git rebase -i 9852344
error: Your local changes to the following files would be overwritten by checkout:
smtp_credentials.ini
Please commit your changes or stash them before you switch branches.
Aborting
error: could not detach HEAD
Do you have uncommitted changes? - No!
I don't understand what the system wants me to do. Please explain. The file smtp_credentials.ini
is in gitingore. It has different versions local and on github.