RSSAmplifier

Jessica Temporal · Jul 9, 2026

git mv: rename files without the delete-and-add confusion

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

Did git ever freak out on you when you tried to rename a file and act like you deleted it and then created a whole new file? Yeah, I know how that goes. 😅 That is because you did not use the git move command. When you rename a file without using git mv , git does not realize you only changed the file name. The only thing it knows is that the file it knew disappeared, and there is a new file right…

Read on jtemporal.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.