标签:ar sp on log bs ad ef as tt
git config --global user.name "YourName"
git confit --global user.email "YourEmail"
git init
git add file
git commit -m "someComments"
git status
git diff
git log --pretty=oneline
git reset --hard HEAD^ (HEAD~100)
git reset --hard 123456(版本号)
git reflog
git diff HEAD -- file
git checkout -- file
git reset HEAD file
SSH-keygen -t rsa -C "YourEmail"
Git remote add origin git@github.com:blueflag417/test1.git
Git push -u origin master (git push origin master)
git clone git@github.com:blueflag417/gitSkills.git
标签:ar sp on log bs ad ef as tt
原文地址:http://www.cnblogs.com/blueflag417/p/4160781.html