Nguyễn Ngọc Huỳnh
New member
How do I change a filename in terminal?
Answer
Renaming a file using the command line
Answer
Renaming a file using the command line
- Open TerminalTerminalGit Bashthe terminal.
- Change the current working directory to your local repository.
- Rename the file, specifying the old file name and the new name you’d like to give the file.
- Use git status to check the old and new file names.
- Commit the file that you’ve staged in your local repository.