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
原文地址:https://www.cnblogs.com/chengyh23/p/12759054.html