/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
/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