How do I change a filename in terminal?

How do I change a filename in terminal?
Answer
Renaming a file using the command line
  1. Open TerminalTerminalGit Bashthe terminal.
  2. Change the current working directory to your local repository.
  3. Rename the file, specifying the old file name and the new name you’d like to give the file.
  4. Use git status to check the old and new file names.
  5. Commit the file that you’ve staged in your local repository.
 

Tìm kiếm

Back
Top