I created a gitignore file in Windows so that some unnecessary files will not be uploaded to GitHub. However, this file has the extension ".txt" ( gitignore.txt
). I want to leave it only as .gitignore
.
How can I do this? Is there any way I can rename it from the command line?