Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
GIT-RENAME-FILE(1)		   Git Extras		      GIT-RENAME-FILE(1)

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

SYNOPSIS
     git-rename-file [OPTIONS] <source> <destination>

DESCRIPTION
     The git-rename-file command renames a file or  directory  and  ensures  Git
     recognizes  the  change, regardless of filesystem case-sensitivity. It com-
     bines the functionality of the mv command and git mv.  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.

OPTIONS
     -h, --help
	    Show usage information.

EXAMPLES
     Rename a file:
	    git-rename-file old_filename new_filename
     Rename a directory:
	    git-rename-file old_directory new_directory

AUTHOR
     Written by Zachary Miller <codebyzach@gmail.com>

REPORTING BUGS
     <https://github.com/tj/git-extras/issues>

SEE ALSO
     <https://github.com/tj/git-extras>

				    July 2024		      GIT-RENAME-FILE(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=git-rename-file&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help