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

Skip to content

git-tuck does not preserve the index changes #62

@Brickster

Description

@Brickster
$ git status --short
MM CHANGELOG.md
 M README.md
$ git tuck -- CHANGELOG.md
Saved working directory and index state WIP on master: 18ea83d Add docs
HEAD is now at 18ea83d Add docs
$ git status --short
 M README.md
$ git stash pop --index --quiet
$ git status --short
 M CHANGELOG.md
 M README.md

Ideally, the end state would match the initial state:

$ git status --short
MM CHANGELOG.md
 M README.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions