git:添加更改master为main

This commit is contained in:
taynpg 2024-09-03 10:01:12 +08:00
parent 9ae4f12932
commit f0b61e41ba

View File

@ -37,3 +37,6 @@ git log --oneline --abbrev-commit
7.恢复某次提交删除的文件或者文件夹
git checkout commitid -- /path/folder/to
8.git更改分支master为main
git branch -M main