Go forth and `git rm -f` ๐
๐ฐ Dev.to ยท Simon Massey
The Problem The GenAI coding tools really really do not like deleting code. And that is...
Full Article
Title: Go forth and `git rm -f` ๐
URL Source: https://dev.to/simbo1905/go-forth-and-git-rm-f-nmc
Published Time: 2026-05-08T19:03:29Z
Markdown Content:
# Go forth and `git rm -f` ๐ - DEV Community
[Skip to content](https://dev.to/simbo1905/go-forth-and-git-rm-f-nmc#main-content)
[](https://dev.to/)
[Powered by Algolia](https://www.algolia.com/developers/?utm_source=devto&utm_medium=referral)
[Log in](https://dev.to/enter?signup_subforem=1)[Create account](https://dev.to/enter?signup_subforem=1&state=new-user)
## DEV Community
0 Add reaction
0 Like 0 Unicorn 0 Exploding Head 0 Raised Hands 0 Fire
0 Jump to Comments 0 Save Boost
Copy link
Copied to Clipboard
[Share to X](https://twitter.com/intent/tweet?text=%22Go%20forth%20and%20%60git%20rm%20-f%60%20%F0%9F%9A%80%22%20by%20Simon%20Massey%20%23DEVCommunity%20https%3A%2F%2Fdev.to%2Fsimbo1905%2Fgo-forth-and-git-rm-f-nmc)[Share to LinkedIn](https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fdev.to%2Fsimbo1905%2Fgo-forth-and-git-rm-f-nmc&title=Go%20forth%20and%20%60git%20rm%20-f%60%20%F0%9F%9A%80&summary=The%20Problem%20%20%20The%20GenAI%20coding%20tools%20really%20really%20do%20not%20like%20deleting%20code.%20And%20that%20is...&source=DEV%20Community)[Share to Facebook](https://www.facebook.com/sharer.php?u=https%3A%2F%2Fdev.to%2Fsimbo1905%2Fgo-forth-and-git-rm-f-nmc)[Share to Mastodon](https://s2f.kytta.dev/?text=https%3A%2F%2Fdev.to%2Fsimbo1905%2Fgo-forth-and-git-rm-f-nmc)
[Share Post via...](https://dev.to/simbo1905/go-forth-and-git-rm-f-nmc#)[Report Abuse](https://dev.to/report-abuse)
[](https://media2.dev.to/dynamic/image/width=1000,height=420,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhoq9wm4m13rbhpqgw3e8.png)
[](https://dev.to/simbo1905)
[Simon Massey](https://dev.to/simbo1905)
Posted on May 8
# Go forth and `git rm -f` ๐
[#ai](https://dev.to/t/ai)[#productivity](https://dev.to/t/productivity)[#programming](https://dev.to/t/programming)[#showdev](https://dev.to/t/showdev)
## [](https://dev.to/simbo1905/go-forth-and-git-rm-f-nmc#the-problem) The Problem
The GenAI coding tools really really do not like deleting code. And that is bad ๐ฅบ
Dead code fills up the context and primes the models to keep on doing the wrong thing ๐ค๐ง
If you want to get that spring back into your step you gotta drop the junk ๐ฉ๐ช
## [](https://dev.to/simbo1905/go-forth-and-git-rm-f-nmc#tldr-the-solution) TL;DR The Solution ๐งฐ
Get the [how-to-delete-dead-code skill.md](https://github.com/simbo1905/deleting-dead-code/blob/main/deleting-de
URL Source: https://dev.to/simbo1905/go-forth-and-git-rm-f-nmc
Published Time: 2026-05-08T19:03:29Z
Markdown Content:
# Go forth and `git rm -f` ๐ - DEV Community
[Skip to content](https://dev.to/simbo1905/go-forth-and-git-rm-f-nmc#main-content)
[](https://dev.to/)
[Powered by Algolia](https://www.algolia.com/developers/?utm_source=devto&utm_medium=referral)
[Log in](https://dev.to/enter?signup_subforem=1)[Create account](https://dev.to/enter?signup_subforem=1&state=new-user)
## DEV Community
0 Add reaction
0 Like 0 Unicorn 0 Exploding Head 0 Raised Hands 0 Fire
0 Jump to Comments 0 Save Boost
Copy link
Copied to Clipboard
[Share to X](https://twitter.com/intent/tweet?text=%22Go%20forth%20and%20%60git%20rm%20-f%60%20%F0%9F%9A%80%22%20by%20Simon%20Massey%20%23DEVCommunity%20https%3A%2F%2Fdev.to%2Fsimbo1905%2Fgo-forth-and-git-rm-f-nmc)[Share to LinkedIn](https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fdev.to%2Fsimbo1905%2Fgo-forth-and-git-rm-f-nmc&title=Go%20forth%20and%20%60git%20rm%20-f%60%20%F0%9F%9A%80&summary=The%20Problem%20%20%20The%20GenAI%20coding%20tools%20really%20really%20do%20not%20like%20deleting%20code.%20And%20that%20is...&source=DEV%20Community)[Share to Facebook](https://www.facebook.com/sharer.php?u=https%3A%2F%2Fdev.to%2Fsimbo1905%2Fgo-forth-and-git-rm-f-nmc)[Share to Mastodon](https://s2f.kytta.dev/?text=https%3A%2F%2Fdev.to%2Fsimbo1905%2Fgo-forth-and-git-rm-f-nmc)
[Share Post via...](https://dev.to/simbo1905/go-forth-and-git-rm-f-nmc#)[Report Abuse](https://dev.to/report-abuse)
[](https://media2.dev.to/dynamic/image/width=1000,height=420,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhoq9wm4m13rbhpqgw3e8.png)
[](https://dev.to/simbo1905)
[Simon Massey](https://dev.to/simbo1905)
Posted on May 8
# Go forth and `git rm -f` ๐
[#ai](https://dev.to/t/ai)[#productivity](https://dev.to/t/productivity)[#programming](https://dev.to/t/programming)[#showdev](https://dev.to/t/showdev)
## [](https://dev.to/simbo1905/go-forth-and-git-rm-f-nmc#the-problem) The Problem
The GenAI coding tools really really do not like deleting code. And that is bad ๐ฅบ
Dead code fills up the context and primes the models to keep on doing the wrong thing ๐ค๐ง
If you want to get that spring back into your step you gotta drop the junk ๐ฉ๐ช
## [](https://dev.to/simbo1905/go-forth-and-git-rm-f-nmc#tldr-the-solution) TL;DR The Solution ๐งฐ
Get the [how-to-delete-dead-code skill.md](https://github.com/simbo1905/deleting-dead-code/blob/main/deleting-de
DeepCamp AI