Skip to content

Instantly share code, notes, and snippets.

@MeteSayan
MeteSayan / undo-changes-in-git.md
Created August 26, 2023 21:21
Undo Changes in Git

Undo Changes in Git

Undoing Local Changes That Have Not Been Committed

$ git status # List affected files
$ git checkout filename.html 
# File has now been reverted to previous commit