Git&Github使用

2020-06-07  本文已影响0人  笙歌梦断

视频:https://youtu.be/Mgp7yDilzfU Win10下安裝與設定Git

注册Github,创建一个仓库
下载Git: 官网下载---改一下下图设置,其余默认设置即可
![git.png](https://img.haomeiwen.com/i1916100/033179fdf76c9929.png?imageMogr2/auto- orient/strip%7CimageView2/2/w/1240)

下载完毕后,打开power shell,输入:
git --version
git config --global user.name 你的用户名
git config --global user.email 登录邮箱
git config --global color.ui true

建立工作文件夹
cd 路径
mkdir 文件夹名称
安装init
···git init···
查看状态
···git status上传文件git add .```
添加说明信息

连接工作文件夹
··· git remote add origin https://github.com/用户名/github仓库名.git
``` git push origin master``` 
上一篇下一篇

猜你喜欢

热点阅读