4.练习

git config --global user.name 'wjp-110'
git config --global user.email '460019140@qq.com'

mkdir test
cd test
git init


toch a1.php
git status
git add a1.php 
git status
git commit -m 'add a a1.php'

vi a1.php
git add a1.php
git commit -m 'update a1.php'

rm -rf a1.php
git rm a1.php
git commit -m 'first remove a1.php'
git status


git config --list /查看配置

git clone 仓库地址
原文地址:https://www.cnblogs.com/kutoutuo/p/14179273.html