logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

git-rename-file - Rename a file or directory and ensure Git recognizes the change, regardless of

Author

       Written by Zachary Miller <codebyzach@gmail.com>

Description

       The git-rename-file command renames a file or directory and ensures Git recognizes the change, regardless
       of filesystem case-sensitivity. It combines the functionality of the mv command and gitmv.

       This is particularly useful for renaming files or directories to change only their case, which might  not
       be detected by Git on case-insensitive filesystems.

Examples

       Rename a file:

           git-rename-file old_filename new_filename

       Rename a directory:

           git-rename-file old_directory new_directory

Name

git-rename-file  -  Rename  a  file  or  directory  and  ensure  Git recognizes the change, regardless of
       filesystem case-sensitivity.

Options

       -h, --help Show usage information.

Reporting Bugs

https://github.com/tj/git-extras/issues

See Also

https://github.com/tj/git-extras

                                                  October 2024                                GIT-RENAME-FILE(1)

Synopsis

git-rename-fileOPTIONSsourcedestination

See Also