設(shè)置用戶
git config --global user.name "你的用戶名"
git config --global user.email "你的郵箱"
初始化本地倉庫
git init
提交文件到本地版本庫
git add .
git commit -m "注釋"
//合并成一條語句為
//注意,此條語句用于修改代碼后
//如果有添加文件則不能是用此條語句
git commit -am "注釋"
git config --global user.name "你的用戶名"
git config --global user.email "你的郵箱"
git init
git add .
git commit -m "注釋"
//合并成一條語句為
//注意,此條語句用于修改代碼后
//如果有添加文件則不能是用此條語句
git commit -am "注釋"