Git Stash Command Maker Tool

Select options below to build your custom Git stash command

What is Stash Command in Git?

To temporarily save the uncommitted changes, you can use the Stash command in Git. Use git stash to save the current state of your working directory and index while keeping a clean working directory.

Choose the base command to start building your stash command.

Temporarily saves changes in your working directory and reverts to a clean state.
Similar to git stash; saves changes to the stash with more options.
Adds a custom message to the stash entry for easier identification later (-m or --message).

Choose options to include untracked or all files in the stash.

Stashes changes to tracked and untracked files.
Stashes changes to tracked, untracked, and ignored files.

Choose advanced options for interactive selection or preserving staged changes.

Allows selecting specific changes to stash interactively.
Stashes changes but retains staged changes in the index.
Hides command output for a quieter operation.
Saves only the changes that are currently staged.

Select a specific action to perform with the stash command.

Generated Command:


                
            
How to Use This Tool

1. Choose the base command to start building your Git stash command.
2. Add a custom message or select options for including untracked/all files.
3. Use advanced options to customize further, like interactive selection or keeping staged changes.
4. Select a specific stash action, if required.
5. Click on "Generate Command" to see the final command.
6. Copy the generated command using the "Copy" button.