git常用命令

 git reflog 查看历史记录

git log查看历史

 

版本穿梭

git reflog

git reset --hard 11c515a

 

切换到master账户

gie checkout master

 

 

YY是复制,p是粘贴!

$ tail -n 1 hello.txt

查看最后一行内容

posted @ 2023-09-20 14:42  千机楼  阅读(9)  评论(0编辑  收藏  举报