Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Self-built git server connection Pycharm series 1: use centos7

Shulou Source: shulou.com Published: 2022-06-03 08:18:04 11月23日 Update

On your own Linux virtual machine, build a git server to save the code.

Here is a brief acquaintance. For later code management, you don't need your own git.

In centos7, by default, it comes with git to view the git version [root@dscrapy01 ~] # git-- versiongit version 1.8.3.1 find a project on github for testing.

This is someone else's project from fork.

When cloning, an error is prompted: [root@dscrapy01 ~] # git clone https://github.com/feature09/clusterdock is being cloned to 'asteroids'...fatal: unable to access https://github.com/feature09/clusterdock/': Peer reports incompatible or unsupported protocol version. Solution viewed by Baidu: updated the three parts of nss/curl/libcurl [root@dscrapy01 ~] # yum update-y nss curl libcurl

Re-clone the project, successful.

[root@dscrapy01] # git clone https://github.com/feature09/clusterdock is being cloned to 'clusterdock'...remote: Counting objects: 157, done.remote: Total 157 (delta 0), reused 0 (delta 0), pack-reused 157 receiver: 100% (157 KiB), 124.99 KiB | 2.00 KiB/s, done. In processing delta: 100% (67 shock 67), done. Enter the project directory, which is located in the current user's home directory [root@dscrapy01 clusterdock] # pwd/root/clusterdock

Tags: Project directory code server service success no content object scheme time version user solution part error handling prompt update test Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft OPPO Reno Shulou Technology MariaDB Shulou Tech Info