#229·git-crypt

Option to allow unlocking when working directory is not clean?

Author: lpasselinCreated Sep 2, 2021Updated Sep 24, 2025
Labelsfeature

Error: Working directory not clean. Please commit your changes or 'git stash' them before running 'git-crypt unlock'.

Is it possible to add an option that allows unlocking when changes are not stashed? Would be useful for situations where changes are not related to encrypted files.