sindresorhus/refined-github

Change the wording of `revert-file` commit #3161

yakov116 posted onGitHub

Currently the wording is Revert {fileName}. Revert follow-file-renames.tsx

I would like it to say Revert changes made to {filename}


I just found out that there’s a command called git restore and we should probably match its wording

posted by fregante almost 5 years ago

I just found out that there’s a command called git restore and we should probably match its wording

I tried it out git restore is just a git-reset on a file and does not commit anything

posted by yakov116 almost 5 years ago

Indeed. However given that restore is the right term for the operation, the Menu item should probably say Restore file and the commit Restore {filename}.

I think "changes" is implied when talking about git.

posted by fregante almost 5 years ago

Should the feature be renamed to Restore file?

posted by yakov116 almost 5 years ago

@fregante ?

posted by yakov116 almost 5 years ago

Bump

posted by yakov116 almost 5 years ago

Fund this Issue

$0.00
Funded

Pull requests