Git 的使用

1.下载Git

2.随便打开一个目录,右击

 3.创建一个目录(mkdir demo)

这时,显示一个文件夹

4.打开文件夹,cd demo

如果git仓库有密码,先git clone    http://xzxunda.com:3000/David/wGaoXiao.git

用于防止报错:

       

touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin http://xzxunda.com:3000/David/wGaoXiao.git
git push -u origin master

原文地址:https://www.cnblogs.com/xww115/p/11768342.html