0
点赞
收藏
分享

微信扫一扫

git stash clear后,如何找回并恢复代码


1.查看丢失记录 git fsck --lost-found

git fsck --lost-found

找回丢失的satsh记录,只有commit 才能够被恢复

 

git stash clear后,如何找回并恢复代码_方向键

2.查看具体内容 git show commitId

git show "commitId" 


按方向键↓可以查看更多更改记录

git stash clear后,如何找回并恢复代码_github_02

 

 

举报

相关推荐

0 条评论