2 ms·You could run git reset without the --hard parameter to keep unstaged changes in the working directoryby u801e 9y agoYou could run git reset without the --hard parameter to keep unstaged changes in the working directory