Skip to content

Instantly share code, notes, and snippets.

@ahmadawais
Last active August 5, 2019 13:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ahmadawais/e42e7546604b0cc7162bdd7dd9b087e4 to your computer and use it in GitHub Desktop.
Save ahmadawais/e42e7546604b0cc7162bdd7dd9b087e4 to your computer and use it in GitHub Desktop.
Rename files with git

Rename a file with git

Normal renamed files are ignored by git so you have to do it like this:

git mv README.md read.md

P.S. Sometimes you need --force param to make it work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment