Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restash fails to remove untracked files #25

Closed
Brickster opened this issue Sep 21, 2015 · 0 comments
Closed

Restash fails to remove untracked files #25

Brickster opened this issue Sep 21, 2015 · 0 comments
Labels

Comments

@Brickster
Copy link
Owner

$ touch file.txt 
$ git status --short
?? file.txt
$ git stash save -u
Saved working directory and index state WIP on gitignore: 3e72f3b Remove now ignored file
HEAD is now at 3e72f3b Remove now ignored file
$ git stash apply
Already up-to-date!
On branch gitignore
Untracked files:
  (use "git add <file>..." to include in what will be committed)

    file.txt

nothing added to commit but untracked files present (use "git add" to track)
$ git restash
fatal: unrecognized input
$ git status --short
?? file.txt
@Brickster Brickster added the bug label Sep 21, 2015
Brickster added a commit that referenced this issue Jan 8, 2018
* fix-restash-untracked:
  Fix restashing only untracked files

Fixes #25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant