当前位置:网站首页>代码管理(新手)
代码管理(新手)
2022-07-21 10:58:00 【RS&Hydrology】
一、GitHub
1.注册账号和新建仓库
注册账号:https://github.com/
2.下载GIT
下载地址(window系统):https://git-scm.com/download/win
3.配置Git
参考这个配置:https://www.bilibili.com/read/cv10612248
需要注意的是:点击enter之后,才会创建一个文件.ssh。
输入ssh -keygen -t rsa -C “[email protected]”。然后把后面的邮箱替换成你的注册邮箱。然后一路回车,采用默认路径和空密码。接着会在默认路径下生成.ssh的文件夹,用编辑器打开id_rsa.pub复制里面的密钥。(转自:如何把自己的代码上传到github上:https://blog.csdn.net/qq_43111389/article/details/125644132)
4.仓库初始化
(1)打开代码所在文件,右击“Git Bash Here”。
(2)输入git init
,创建本地git。
(3)给仓库添加远程地址,输入命令: git remote add origin [email protected]:yourName/yourRepo.gityourName是你的用户名,yourRepo是你的仓库名。
(但是自己使用过程中,网络一直不稳定,在犹豫要不要使用这个工具)
参考资料:
https://blog.csdn.net/qq_43111389/article/details/125644132
https://www.bilibili.com/read/cv10612248
二、码云
使用码云(Gitee)进行开源代码管理:https://blog.csdn.net/qq_42450767/article/details/121727879
官网:https://gitee.com/
Gitee操作教程:https://www.liaoxuefeng.com/wiki/896043488029600/1163625339727712
边栏推荐
- 【已解决】cvc-datatype-valid.1.2.1: ‘‘ 不是 ‘NCName‘ 的有效值。
- How to make the demand unable to go online smoothly as scheduled (III) development stage
- Intel汇编程序设计-整数算术指令(上)
- My creation anniversary
- 推薦系統常見術語
- 【华为LYEVK-3861A智能物联网开发板测评】开箱体验及海思Hi3861V100芯片学习体验
- How to make the demand unable to go online smoothly as scheduled (II) demand stage
- 斯坦福CV课程学习笔记(一)
- JS tutorial practice (JS Foundation)
- [激光器原理与应用-6]:Q开关元件与Q驱动电路板
猜你喜欢
随机推荐
[深入研究4G/5G/6G专题-39]: URLLC-10-《3GPP URLLC相关协议、规范、技术原理深度解读》-3-如何区分URLLC业务?网络切片的架构与技术详解
IDEA 2020.1 取消参数名称显示
Information entropy_ Joint entropy_ Conditional entropy_ information gain
Unity的相机的世界坐标Postion、Rotation、Scale怎样转换成View矩阵
Terminologie commune du système recommandé
C语言练习题-结构体与联合体
第107篇 Compound 中的 InterestRateModel
Polarimetric SAR - Polarimetric ellipse
第100篇 兼容 ETH 与 ERC20 的库合约
Idea publishes executable jar packages
随机森林思想
信息熵_联合熵_条件熵_信息增益
机器学习_数据处理和模型评价
Techempower web框架性能测试第21轮结果发布--asp.net core继续前进
Simple shader practice record 4-streamer effect
JDBC 09: Preparedstatement implements addition, deletion, modification and query
Part 104 ctokens in compound
Try to divide to find the divisor
将一张图片以自己输入文字方式组成
[first launch in the whole network] redis series 4: sentinel (sentinel mode) with high availability