question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Change the wording of `revert-file` commit

See original GitHub issue

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

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

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
yakov116commented, Jun 4, 2020

Should the feature be renamed to Restore file?

1reaction
yakov116commented, Jun 1, 2020

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Git and GitHub: How to Revert a Single File.
Find the commit ID of the version of the file you want to revert to. Find the path to the file you want...
Read more >
Git Revert File – Reverting a File to a Previous Commit
Git will replace the file with the specified committed version. Use this only if you are sure and don't want those unsaved local...
Read more >
Revert changes to a file in a commit - git - Stack Overflow
8 Answers 8 · git revert -n <*commit*> ( -n revert all the changes but won't commit them) · git add <*filename*> (name...
Read more >
2.4 Git Basics - Undoing Things
Right below the “Changes to be committed” text, it says use git reset HEAD <file>…​ to unstage. So, let's use that advice to...
Read more >
Resetting, Checking Out & Reverting | Atlassian Git Tutorial
A revert is an operation that takes a specified commit and creates a new commit which inverses the specified commit. git revert can...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found