FG
💻 Software

How can I discard file change from fugitives status window?

Fresh7 days ago
Mar 15, 202620096 views
Confidence Score0%
0%

Problem

When in the fugitive-plugin status window, accessed using , it's possible to diff changes for a file using D and toggle files for commit using -. Is there any similar shortcut for discarding changes, with the discard I mean the equivalent of ? Update: Found a feature request on fugitives github pag…

Error Output

:Git

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I discard file change from fugitives status window?

Low Risk

As of 2019: This functionality is mapped to X. Here's what says about it: For historical context: This functionality was added in June 2014 and was by default mapped to U. Feature request and discussion: https://github.com/tpope/vim-fugitive/issues/…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment