当前位置:网站首页>Phpstrom uploads the project to the code cloud

Phpstrom uploads the project to the code cloud

2022-06-10 10:08:00 u011042325

1. First you have to git;

Baidu git Just install it by default ;

Good configuration Git You can skip the following steps :

Here you need to configure git, The premise is that you already have a code cloud account

Open your project directory and right-click it to display (Git Bsch Here) Click to open the command execution box

Enter the configuration user name :
git config --global user.name " Your code cloud name "

Configure user mailbox :
git config --global user.email " Your email "

Generate SSH Key, Used to connect code cloud
ssh-keygen -t rsa -C " Your email "
Here you need to press enter several times

Use the default value , After command execution , Will be generated in the computer user home directory .ssh Catalog , There are id_rsa and id_rsa_pub Two documents .id_rsa Use private key , Keep it for yourself , Don't tell anyone ,id_rsa_pub It's the public key , You can tell anyone .

2. You have to register a code cloud account , Not here ,

** Qiyunhe GitHub The advantage is that private projects are free

3. Build a project on the code cloud

Fill in what you know ok 了

Then create

4. open phpstorm

Open in settings ( Operate as shown in the figure )

Search for :gitee, Installation restart phpstrom

Input here , The email password of the login code cloud

Confirm the password

here url Fill in ; Code cloud url

Select local project address

Just get here , Click on clone That's all right.

Then right click to upload the project to display git, Choose the last push, Just upload the code cloud .

 

原网站

版权声明
本文为[u011042325]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/161/202206100952124311.html