Git – Rename Files

Git Rename Files Use git mv command to rename files and directories in current git repository. You can see that the same command is used to move files as well. The difference between both operations is that if you changed the filename only and destination is the same directory then it called rename. Syntax git mv [FILENAME] [NEW FILENAME] Example For example, you have multiple files in your current project. In my case, the files are as followings. rahul@tecadmin:/app$ ls -l total 164 drwxr-xr-x 2 root root 4096 Dec 28…

Read More