$ ssh-keygen -t rsa -C "youremail@example.com"
$ git config --global user.name "your name"
$ git config --global user.email "your_email@youremail.com"
git add <filename>
git add *
git init
c/user/尹/.ssh/id_rsa
已提交暂存区但还未提交远端仓库
命令:git commit --amend -m
git reset HEAD~6
将提交到暂存区的文件回撤
$ git commit --amend
git reset HEAD~4
git checkout -B master
git checkout -b master
git merge --no-commit develop
git fetch --all git reset --hard origin/master
git pull
git
原文:https://www.cnblogs.com/ywsheng/p/11250567.html