pycharm configure git

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

insert image description here

3. Pycharm creates git library

insert image description here

Choose your project folder

insert image description here

submit code

insert image description here

4. Configure the remote warehouse

insert image description here

2 Fill in the ssh link obtained at the beginning

complete.

Guess you like

Origin blog.csdn.net/REstrat/article/details/129085754