gitee操作
1.注册gitee账号并登录
2.创建仓库
本地git操作
1.Git配置用户名称和电子邮箱地址
$git config --global user.name "sqtest"
$git config --global user.email sqtest@qq.com
2.生成SSH key(密钥)
$ssh-keygen -t rsa -C "你的邮箱"
生成密钥后一直回车,会在~/.ssh/目录生成id-rsa(私钥)和id-rsa.pub(公钥)
3.查看公钥
$cat ~/.ssh/id_rsa.pub
4.gitee上传自己的SSH公钥
5.本地git关联远程仓库
一.命令行方式
①在项目代码里,创建本地仓库
$git init
②将项目代码,git添加暂存区以及提交操作
git add .
git commit -m 'first commit'
③添加远程仓库地址
找到远程仓库地址
git remote add origin git@gitee.com:zegetest/songqin.git#关联远程仓库
git remote -v #远程仓库地址
git push -u origin master #将本地仓库推送到远程仓库
-
网名符号:https://www.henkao.com/wangluo/1080.html 留在我心底的风景:https://www.henkao.com/xuexi/1916.html 师德师风学习心得:https://www.henkao.com/zhichang/2652.html 能得到男人真爱的星座女:https://www.henkao.com/xingzuo/1627.html 满江红电影讲的是什么:https://www.henkao.com/wangluo/2613.html 试卷分析失分原因和改进措施:https://www.henkao.com/xuexi/2446.html 好听的军团名字:https://www.henkao.com/wangluo/1438.html 一年级班主任工作计划:https://www.henkao.com/zhichang/2149.html 祝老人一路走好的句子:https://www.henkao.com/qinggan/400.html 拉风的网名:https://www.henkao.com/wangluo/1293.html 企业培训方案:https://www.henkao.com/zhichang/2094.html 帮派名称:https://www.henkao.com/wangluo/1343.html 回眸作文:https://www.henkao.com/zuowen/1911.html 教师述职:https://www.henkao.com/zhichang/1978.html 高情商祝老公生日快乐:https://www.henkao.com/qinggan/782.html 最红的网名:https://www.henkao.com/wangluo/928.html 网名男生成熟稳重:https://www.henkao.com/wangluo/1544.html 故宫的导游词:https://www.henkao.com/zhichang/1882.html 法人代表授权书:https://www.henkao.com/zhichang/2407.html 光说不做的经典句子:https://www.henkao.com/yuedu/1675.html 竞聘申请书:https://www.henkao.com/zhichang/2140.html 金钱树的养殖方法和注意事项:https://www.henkao.com/jiaju/541.html 大公无私的故事:https://www.henkao.com/yuedu/1059.html 中华传统节日作文:https://www.henkao.com/zuowen/2303.html 榴莲不熟要怎么放才能熟:https://www.henkao.com/yinshi/561.html 关于植树节的佳句:https://www.henkao.com/xuexi/1640.html 两个字的网名:https://www.henkao.com/wangluo/879.html 生日文案祝自己:https://www.henkao.com/qinggan/581.html 个人述职报告:https://www.henkao.com/zhichang/2528.html 两字网名大全:https://www.henkao.com/wangluo/1418.html(0) 回复 (0)