1、本地仓库创建
git init


2、本地仓库的有关操作





git status
git status -s
git add .
git add xxx
git commit
git commit -m 'xxxxx'
git log
git log --pretty=oneline
git reset --hard 'commit_id'
git init
git status
git status -s
git add .
git add xxx
git commit
git commit -m 'xxxxx'
git log
git log --pretty=oneline
git reset --hard 'commit_id'
本文标题:4、Git 本地仓库
本文链接:https://www.haomeiwen.com/subject/dirqzltx.html
网友评论