Pop a stash by index

Apply a specific stash entry and remove it from the list

git stash pop stash@{2}

tool
git45 commands
tags
git

More git commands

  • git bisect start && git bisect bad HEAD && git bisect good <good-sha>

    Run a binary search through history to find where a regression started

  • git worktree add ../feature-branch feature/my-feature

    Check out a branch in a separate directory, no stash needed

  • git submodule update --init --recursive

    Initialize and update all submodules, including nested ones

  • git show <sha>:path/to/file

    Print a file's content as it was in an older commit

  • git log --oneline --graph --decorate --all | head -40

    Show a compact graph of all branches in the repo (first 40 lines)

all 45 git commands