Kevin Fang reads the fine print on "Discard All Changes"
A 2017 GitHub complaint about VS Code is the biggest daily draw on Fang's channel after a week without new uploads.
Dev Deletes 3 Months of Work, Blames Code Editor
Up nextTrari.com home page ›
Why this story? The channel's weekly summary: what went up this week, what is drawing views now, and where the channel stands among similar channels.
The project was gone. In the reenactment that opens Kevin Fang's "Dev Deletes 3 Months of Work, Blames Code Editor," a developer setting up Git in VS Code clicks "Discard All Changes" and loses months of work. The distinction Fang builds the episode around is easy to miss in a menu: undoing edits to a file Git already knows about isn't the same as discarding a file it has never tracked.
The GitHub thread turns that distinction into an argument about what a button owes the person pressing it. Some developers put the responsibility on the user; others said the wording didn't tell people what they stood to lose. Fang follows Microsoft's changes through to a version of VS Code that sends discarded untracked files to the Recycle Bin.
Fang posted nothing new this week. His subscriber count held steady and daily views are running at a little over half their usual pace. Among nearby software channels, javidx9 had a similarly quiet week for views, while sgthale - Indie Dev! drew millions.
The other uploads doing the most work for Fang are also about files that don't come back. "One Server Broke. They Lost Everything." looks at the King's College London storage failure and the tape backups that had been failing without anyone noticing. It includes a sponsored segment. And "How A Steam Bug Deleted Someone's Entire PC," the episode that opened Issues Insights, follows a Steam for Linux report that started with a move to an external drive. Fang separates what the bug report establishes from his own theory about what set it off.
Published on Trari.com
Go back to Trari.com home page
Where next?
Things we can learn from the video
Press to jump
- 0:00A reenactment shows a developer losing an entire project after choosing "Discard All Changes" in VS Code.
- 2:00Git keeps a history of changes; GitHub hosts repositories and is not Git itself.
- 5:37Discarding a modified tracked file can restore a saved version, but Git has no saved version of an untracked file.
- 8:24Developers debate whether the wording makes clear that discarding changes can delete whole files.
- 9:40Fang traces the interface updates to the point where VS Code sends discarded untracked files to the Recycle Bin.
A professional in this field? Want to write about Tech on Trari? Tell us ›
What do you think?
Want to know when somebody answers you?
The videos drawing views on Kevin Fang right now
- Channel
- Kevin Fang
- Subscribers
- 206,000
- Channel views, last 7 days
- 12,341
- Videos published this week
- 0
The numbers
Here are Kevin Fang's weekly views, subscriber change, and the uploads drawing the most daily views.
💡 Test your knowledge
Which university's storage outage does Kevin Fang examine in "One Server Broke. They Lost Everything."?
The video traces the failure of the university's HP 3PAR storage system and the problems with its backups.


