git

安装注意:选择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 key

1、git init //初始化本地git仓库

2、git add<file> //添加文件

3、git status //查看状态

4、git commit //提交

5、git push //推送到仓库

6、git pull  //从远程仓库拉取数据

7、git clone //从远程拷贝数据

posted @ 2019-07-20 22:52  六脉神剑L  阅读(109)  评论(0)    收藏  举报