What does the command git reset -–soft HEAD ~5 do? code example Example: git soft reset head git reset --soft HEAD^ //resets head by 1