logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Git Reset File - Revert File Changes in Git | Online Free DevTools by Hexmos

Revert file changes easily with Git Reset File. Undo modifications to a file from HEAD or a specific commit. Free online tool, no registration required.

git-reset-file

Revert a file to HEAD or a commit. Part of git-extras. More information: https://github.com/tj/git-extras/blob/master/Commands.md#git-reset-file.

  • Reset a file to HEAD:

git reset-file {{path/to/file}}

  • Reset a file to a specific commit:

git reset-file {{path/to/file}} {{commit_hash}}

See Also