git 当有人邀请你加入项目(gitee)
创始人
2024-05-31 04:28:39
0

第一步,找到仓库地址

https://gitee.com/xxxxxxxxxxxxxxxx/abcd.git

 

 https://gitee.com/xxxxxxxxxxxxxxxx/abcd.git

2,打开git bush

git clone https://gitee.com/xxxxxxxxxxxxxxxx/abcd.git

这条命令新建一个名为abcd(也就是项目目录结尾)的文件夹作为项目的目录

git clone https://gitee.com/xxxxxxxxxxxxxxxx/abcd.git 新文件夹名字

这条命令新建一个“新文件夹名字”的目录

3,如果出现

remote: [session-954d41ba] Access denied

说明你权限不对,或者当前登录的user不是被邀请的身份

4,如果出现

$ git clone git@gitee.com:xxxxxxxxxxxx/abcd.git abcd2023
Cloning into 'abcd2023'...
The authenticity of host 'gitee.com (222.164.163.90)' can't be established.
AD25519 key fingerprint is SHA256:+ULzij2u99B9eWY1FTw1Q4ErYG/ae2pHLbu96PAUCoV88.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes

 

5,在地址加入账号和密码,注意用邮箱做用户名时候,@要转换为%40

$ git clone https://someonremember%40gmail.com:someoneforgot@gitee.com/xxxxxxxxxx/abcd.git abcd2023
Cloning into 'abcd2023'...
remote: Enumerating objects: 342, done.
remote: Counting objects: 100% (342/342), done.
remote: Compressing objects: 100% (176/176), done.
Receiving objects:  27% (94/342), 5.75 MiB | 909.00 KiB/s

上例中登录邮箱名:someonremember@gmail.com;登录密码:someoneforgot

6,代码克隆下来了,在文件夹打开git bush

可以看到

Administrator@MyComputer MINGW64 /d/Users/iamsomeone/source/repos/abcd2023 (master)
$ git status
On branch master
Your branch is up to date with 'origin/master'.nothing to commit, working tree cleanAdministrator@MyComputer MINGW64 /d/Users/iamsomeone/source/repos/abcd2023 (master)

相关内容

热门资讯

监控摄像头接入GB28181平... 流程简介将监控摄像头的视频在网站和APP中直播,要解决的几个问题是:1&...
Windows10添加群晖磁盘... 在使用群晖NAS时,我们需要通过本地映射的方式把NAS映射成本地的一块磁盘使用。 通过...
protocol buffer... 目录 目录 什么是protocol buffer 1.protobuf 1.1安装  1.2使用...
在Word、WPS中插入AxM... 引言 我最近需要写一些文章,在排版时发现AxMath插入的公式竟然会导致行间距异常&#...
【PdgCntEditor】解... 一、问题背景 大部分的图书对应的PDF,目录中的页码并非PDF中直接索引的页码...
修复 爱普生 EPSON L4... L4151 L4153 L4156 L4158 L4163 L4165 L4166 L4168 L4...
Fluent中创建监测点 1 概述某些仿真问题,需要创建监测点,用于获取空间定点的数据࿰...
educoder数据结构与算法...                                                   ...
MySQL下载和安装(Wind... 前言:刚换了一台电脑,里面所有东西都需要重新配置,习惯了所...
MFC文件操作  MFC提供了一个文件操作的基类CFile,这个类提供了一个没有缓存的二进制格式的磁盘...