Git仓库(可以将不同平台代码共享)

1.如何下载

方式一:

pc.qq.com 在腾讯软件中心 搜索Git软件

方式二:

https://git-scm.com

2.安装注意事项

右键以管理员身份运行

mostimport:

1.倒三角点开全部退出 例如华为管家

2.windows安全中心-防火墙和网络保护中的 域网络 专用网络 公用网络都关闭

3.软件都装在根目录下

4.https://gitee.com/

3.注册

用户: 用英文 名字加生日后四位

密码:设置为qq密码

新建仓库 ai

仓库介绍:示例 ai250302公司的人工智能

开源

不初始化 以及不点创建

4.Git全局设置

桌面右键 打开 open git bash here 输入指令

git config --global user.name "yangyang0682"

git config --global user.email" "

5.Git使用

1.如何传到服务器

在仓库右键 open git bash here 即命令行界面

输入命令

git add .

git commit -m " 详细描述"

git pull 拉取

git push 推送

即可上传