Git Stash and Apply

Saves your uncommitted changes to a temporary stack and restores a clean working tree, then re-applies those changes later. Useful for switching context without committing work-in-progress.

When you need this: When you need to pull or switch branches but have uncommitted changes you are not ready to commit.

Variables

Command


        
2 views 0 copies
Log in to rate
Log in to save

Free account — save snippets into your own collections.