# fatal: log for 'stash' only has 1 entries / stash@{3} is not a valid reference

**Code:** `stash@{0} is not a valid reference` · **Category:** Git · **Seen on:** Git

The stash index doesn't exist.

## Meaning

Run `git stash list` to see valid entries. Stashes drop off after `pop` or `drop`, and are per repository.

## Common causes

- Stash already popped/dropped
- Wrong repo
- Typo in index

## Quick fix

1. `git stash list`
2. Use an existing index
3. Recover with `git fsck --unreachable | grep commit`

## Detailed fix by platform

### Git

1. 

```bash
git stash list
git fsck --no-reflog | grep "dangling commit"
```


## How to diagnose

1. **List** — entries?
2. **Index** — valid?
3. **Repo** — right?

---
Source: [WhatIsMyError](https://whatismyerror.com/errors/git/stash-reference-not-found)
