简体   繁体   中英

Where does git keep the local repository stashed file?

I would like to sym link to the directory containing the stashed files.

If there are multiple stash items in the stash list of the local repository then I would like to zip them all from a sym link.

The stash is actually stored as a commit sha and can be viewed in

./logs/refs/stash
./refs/stash

Then you could git show the commit sha or append --name-status to it to view the list of files in stash.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM