Thanks to visit codestin.com
Credit goes to github.com

Skip to content

git-restash message is misleading when no stashes exist #75

@Brickster

Description

@Brickster
$ git state
# status (master)

    Empty repository

$ git stash list
$ git restash
error: stash@{0} is not a valid stash reference

It should output something similar to git-stash:

$ git restash
No stash found.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions