Skip to content
This repository was archived by the owner on Nov 25, 2022. It is now read-only.

Add alias for git stash --include-untrackedΒ #127

@salcode

Description

@salcode

@michealengland pointed out that git stash --include-untracked

would be more convenient with an alias (though we can shorten it to git stash -u, however I don't like this shortened version because it reminds me of git add -u, which is the opposite of git stash -u in that it ONLY affects tracked files πŸ™„ )

Perhaps we could call it git pokemonstash (Gotta stash'em all) with

pokemonstash = stash --include-untracked

I thought git stashall might be a more traditional alternative but git stash --all already exists which does something else, so this would be confusing.

This option is only valid for push and save commands.

All ignored and untracked files are also stashed and then cleaned up with git clean.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions