栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

gitee 操作总结

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

gitee 操作总结

git操作

git config --global user.name “用户名”
git config --global user.email “邮箱”

git init
Initialized empty Git repository in D:/code/my_code/python/text/gitee/python/.git/

$ touch README.md
$ git add README.md
$ git commit -m “first commit”
[master (root-commit) e062c32] first commit
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 README.md

$ git remote add origin https://gitee.com/laykon_lau/python.git
$ git push -u origin “master”

公钥生成

ssh-keygen -t ed25519 -C “xxxxx@xxxxx.com”
cat ~/.ssh/id_ed25519.pub 将公钥拷贝到git 网页上面的公钥里
添加后使用ssh -T git@gitee.com 进行测试

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/733826.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号