HomeGit Git How To Reset Local Changes In Git Of Edited File? By HTuser 1 `git restore ` `git checkout — ` `git restore .` `git checkout — .` `git reset –hard HEAD` `git clean -fd` Share FacebookXPinterestWhatsApp Suggested for You How To Revert A Commit In Git? How To Use Git? How To Clone A Git Repository? Trending Today How To Make A Campfire In Minecraft? How To Boil The Water? How To Plant A Basil? How To Unblock Someone? How To Convert Kelvin In Celsius? How To Use Graphing Paper? Load more