error: unknown switch `e’ usage: git reset [–mixed | –soft | –hard | –merge | –keep] [-q] []

error: unknown switch `e' usage: git reset [--mixed | --soft | --hard | --merge | --keep] [-q] []

#For Powershell and cmd users
git reset 'HEAD@{1}'

Source: codegrepper