I created my repo with 'readme.md' but the standart is 'README.md'. Does anyone know how to rename to uppercase?
I've tried just renaming and it didn't work.
Edit: I'm on Linux
Thanks in advance.
I created my repo with 'readme.md' but the standart is 'README.md'. Does anyone know how to rename to uppercase?
I've tried just renaming and it didn't work.
Edit: I'm on Linux
Thanks in advance.
On windows? You will have to use a temp file.
git mv readme.md temp.md
git mv temp.md README.md
git commit -m "Renamed to README.md"
As @torek suggests, I have success with both of the following on LinuxMint (tested on 18.3, 19.1):
git mv readme.md README.md
OR
mv readme.md README.md ; git add .
(alt: git add README.md readme.md
if adding all unstaged changes in the current directory is less convenient)
If these answers don't work for you, please share details about the error message (if any) and your computing environment. Someone smarter than I am may be able to figure out what's causing your problems. ;)
you can use git bash if you are on windows and type touch README.md then copy the contents from the old readme.md file