---
title: "Discussion on \"git stash Leaves Your Untracked Files Exactly Where They Were\" | Hashnode"
description: "Discussion on \"git stash Leaves Your Untracked Files Exactly Where They Were\". I used to think git stash put my working tree back to a clean HEAD. That is wrong in a specific and painful way, and I found out on a day when I stashed my work to pull a teammate's branch, then watch"
url: "https://hashnode.com/posts/git-stash-leaves-your-untracked-files-exactly-where-they-were/6af40b243f648bea981f71f5"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [git stash Leaves Your Untracked Files Exactly Where They Were](https://aheadkit.hashnode.dev/git-stash-leaves-your-untracked-files-exactly-where-they-were?utm_source=hashnode&utm_medium=feed)

I used to think git stash put my working tree back to a clean HEAD. That is wrong in a specific and painful way, and I found out on a day when I stashed my work to pull a teammate's branch, then watch

4d ago · 5 min read · aheadkit.hashnode.dev  
Read the article

-   [#git](https://hashnode.com/tag/git)
-   [#version-control](https://hashnode.com/tag/version-control)
-   [#developer-tools](https://hashnode.com/tag/developer-tools)

## Written by

[Abdus Salam](https://hashnode.com/@aheadkit)

@aheadkit

  
[View profile](https://hashnode.com/@aheadkit)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
