
GitHub Copilot X: The AI-powered developer experience
GitHub Copilot is evolving to bring chat and voice interfaces, support pull requests, answer questions on docs, and adopt OpenAI’s GPT-4 for a more personalized developer experience.
Starting today, you can move and rename files within your repositories on GitHub. Renaming a file You’ll notice that editing a file now lets you enter a new name for…
Starting today, you can move and rename files within your repositories on GitHub.
You’ll notice that editing a file now lets you enter a new name for your file.
But let’s see what else this field can do.
You can also move files to entirely new locations using just the filename field.
To navigate down into a folder, just type the name of the folder you want to move the
file into followed by /
. The folder can be one that’s already part of your repository,
or it can even be a brand-new folder that doesn’t exist yet!
It’s just as easy to move files into folders above the file’s current location too.
To move a file up, place your cursor at the beginning of the filename field and either:
../
to jump up a whole directory level.backspace
to move up a directory, while keeping the parent folder’s nameThis functionality is also available when
creating files too, and means
you can now create new files anywhere in your repositories, even if the folder doesn’t
exist yet!
For help with these features, be sure to read our help articles on renaming,
moving, and
creating files.