The code may sometimes need to be rolled back. I thought about reconfiguring it and using git for maintenance, but I forgot how to do it, and it took a long time to do it. I will save it as an archive.
1. Install git (omitted)
2.gitee creates a new warehouse
remember the ssh link
3. Pycharm creates git library
Choose your project folder
submit code
4. Configure the remote warehouse
2 Fill in the ssh link obtained at the beginning
complete.