标签:git 数据 conf HERE status 添加 name init 配置
安装注意:选择Use git from git bash only...其他默认下一步。
配置path:bin目录
配置git:右键-git bash here
配置用户名 git config --global user.name "XXX"
邮箱 git config --global user.email "XXX@xxx"
查看是否配置成功 C:\Users\Administrator:\gitconfig
创建git服务器(远程仓库):托管网站 githud.com
为了在本地和远程仓库之间 免密钥登陆 ,可以配置ssh
配置ssh:
1、git init //初始化本地git仓库
2、git add<file> //添加文件
3、git status //查看状态
4、git commit //提交
5、git push //推送到仓库
6、git pull //从远程仓库拉取数据
7、git clone //从远程拷贝数据
标签:git 数据 conf HERE status 添加 name init 配置
原文地址:https://www.cnblogs.com/shenjian156/p/11219765.html