DEV Community

Yegor Shytikov
Yegor Shytikov

Posted on

Git Show the last files committed


git show --stat --oneline HEAD

Then reset the unwanted files in order to leave them out from the commit:

 git reset --soft HEAD~1
Enter fullscreen mode Exit fullscreen mode

git add again

git commit -m "new commit"

git push

Top comments (0)