Quantcast
Channel: How do I recover a dropped stash in Git? - Stack Overflow
Viewing all articles
Browse latest Browse all 52

Answer by Lovekush Vishwakarma for How to recover a dropped stash in Git?

$
0
0

You can follow the below process step by step:

1- use below to list all unreachable commitsgit fsck --unreachable

2- to show unreachable commit hash bygit show hash

3- copy all log, you can see log like, unreachable blob, commit, tree.

4- apply git stash with log having commit hashgit stash apply [replace hash]


Viewing all articles
Browse latest Browse all 52

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>