1、install gitlab projects plugins

如果遇到“marketplace plugins are not loaded”查看"ubuntu下PyCharm"遇到问题博文。

2、version control 》gitlab》add new gitlab server

Ubuntu install and connect gitlab in pycharm

安装git

sudo apt-get install git

//切换到你的用户目录
cd ~
//设置邮箱
git config --global user.email "[email protected]example.com"
//设置用户名,就是查看git提交记录是看到的名字
git config --global user.name "xxx"
//开始生成**
ssh-****** -t rsa -C "[email protected]example.com"
//根据提示一路Enter不要输入密码

cd ~/.ssh   (如果没有执行第三步,则不会有这个文件夹);

cat id_rsa.pub     在命令行打开这个文件,会直接输出**;

复制,打开gitlab   ,点自己头像 >> settings >> SSH and GPG keys >>New SSH key 

titile  随便写key里    粘贴第六步的内容;完成。

相关文章:

  • 2022-12-23
  • 2021-11-04
  • 2021-11-01
  • 2021-12-07
  • 2022-02-06
  • 2021-12-05
  • 2021-09-24
猜你喜欢
  • 2021-09-01
  • 2021-09-28
  • 2022-12-23
  • 2021-12-31
  • 2021-10-25
  • 2021-10-18
  • 2021-11-18
相关资源
相似解决方案