Skip to content

Stashing staged deletions doesn't work? #75

@goran-w

Description

@goran-w

Case: Two stashed deleted files were not included. Tried stashing them separately, got an error... See log below:

$ git stash push --include-untracked --pathspec-from-file="C:\Users\GoranW\AppData\Local\Temp\tmp45kyko.tmp" -m "Centralize handling of Haptic Connection"

Saved working directory and index state On versiustrainer_preview: Centralize handling of Haptic Connection
:29: trailing whitespace.
m_Name:
:30: trailing whitespace.
m_EditorClassIdentifier:
:53: trailing whitespace.
m_Name:
:54: trailing whitespace.
m_EditorClassIdentifier:
:212: trailing whitespace.
public static extern int SuS_Engine_GetElectroSurgeryMode(int handIdx);
warning: squelched 26 whitespace errors
warning: 31 lines add whitespace errors.

$ git stash push --include-untracked --pathspec-from-file="C:\Users\GoranW\AppData\Local\Temp\tmp3r1sbu.tmp" -m "delete old files"

Saved working directory and index state On versiustrainer_preview: delete old files
fatal: pathspec ':(prefix:0)VT_VR/Assets/Scripts/SimulationInput.cs' did not match any files

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions