git

/user/.ssh

在工作目录下

git init
git status
git add --all       git reset HEAD -- [FILE]
git commit --all

git log
git reset --hard [commit_id]

 

与远程目录

git remote add
git push -u {REMOTE_BRANCH} {LOCAL_BRANCH}

git pull

 

posted @ 2020-04-23 10:33  JhengWei  阅读(87)  评论(0编辑  收藏  举报