随笔分类 -  Git

摘要:print Generating public/private rsa key pair. >> Enter file in which to save the key (/root/.ssh/id_rsa): /root/.ssh/id_rsa_new 然后一路回车到底 <!--?xml vers 阅读全文
posted @ 2016-12-07 10:59 夜未央丿 阅读(817) 评论(0) 推荐(0)
摘要:# 回退到指定版本 git reset --hard eefabaa # 提交回退后的版本 git push origin master -f 注:此操作是回退,回退版本提交后,该版本之后的提交会被废弃 阅读全文
posted @ 2016-12-07 10:36 夜未央丿 阅读(87) 评论(0) 推荐(0)
摘要:git config --global user.name "Firstname Lastname" git config --global user.email "your_email@youremail.com" git config --global user.email "your_emai 阅读全文
posted @ 2016-12-07 10:35 夜未央丿 阅读(90) 评论(0) 推荐(0)