1. I use the web version of Github and want to rename a folder (for example: change find_a_capitals to find_a_national_GDP). The premise is that I don’t want to delete the file and then upload it again. What should I do?
巴扎黑2017-06-22 11:54:34
Changing the file name is a file change. The hash value will change. There is no need to delete the file. Clone it, rename it directly, and then commit it. Just push
欧阳克2017-06-22 11:54:34
git-mv - Move or rename a file, a directory, or a symlink
git mv find_a_capitals find_a_national_GDP