architectkruto.blogg.se

Gd stash wrong directory
Gd stash wrong directory






gd stash wrong directory gd stash wrong directory

"git stash" does this by building a temporary index file. git/index.įor "git stash" to create a commit tree, files that have been changed (edited) but not yet staged with "git add" have to be added to the object store. "git add" both adds a copy of a file to the object store, and sets the staging flag for that file in. Those entries contain the full path and filename and also cached metadata about the file, both filesystem metadata and git-related metadata. git/index holds a list of entries, one for each of the files in the working tree. git/logs/refs/stash contains a reflog-like chunk of metadata about the stashes before the one in. git/refs/stash contains the hash value for the commit tree that the stash created. I haven't looked into this deeply enough (yet) to understand how the one is translated into the other. The other commit tree, I've been told, is used to store a snapshot of the contents of. There are some tricky bits here, see below. One commit tree contains a snapshot of the current state of the working tree. git/index) is stored as two commit trees. the current version of the working tree and the contents of. The actual data stashed by "git stash" (i.e.








Gd stash wrong directory