git安装--gitlab操作

1 .在windows系统上 安装git

https://git-scm.com/install/windows

2 . 生成本地SSH密钥

ssh-keygen -t ed25519 -C "你的邮箱@example.com"

复制公钥,进入Gitlab --settings---SSH keys 把公钥粘贴进去。

在 Git Bash 中:

cat ~/.ssh/id_ed25519.pub

在 Windows PowerShell 中:

Get-Content C:\Users\你的用户名\.ssh\id_ed25519.pub

3 测试链接

ssh -T git@gitlab.com

成功应该提示 :Welcome to GitLab, @你的用户名!

相关推荐
爱学英语的程序员2 小时前
Git 提交 LF will be replaced by CRLF the next time Git touches it 报错
git
qq_339191143 小时前
服务器git pull每次都要输入密码,linux 设置git登录,linux设置git只输入一次账户密码
git
一颗小行星!9 小时前
快速理解 Git submodule
git
有理想的打工人9 小时前
gitlab的参数设置与团队管理
gitlab
有理想的打工人11 小时前
gitlab群组管理与ssh链接
ssh·gitlab
A-Jie-Y11 小时前
Git基础-核心概念与常用命令
git
夜珀12 小时前
Git基础修炼手册:在AtomGit上玩转版本控制
git
M-Ellen12 小时前
从零搭建 Windows + WSL2 + Docker + GitLab CI/CD 完整手册
ci/cd·docker·gitlab
golang学习记12 小时前
Zed IDE官宣新招:Git Graph 正式支持!
ide·git
要记得喝水12 小时前
适用于 Git Bash 的脚本,批量提交和推送多个仓库的修改
git·elasticsearch·bash