---
title: "Discussion on \"Git Stash Basics\" | Hashnode"
description: "Discussion on \"Git Stash Basics\". 1) To Stash all the files including untracked files\ngit stash push -u -m \"message\"\n\n2) To View all the stash\ngit stash list\n\n3) To apply a stash\ngit stash apply stash@{0}"
url: "https://hashnode.com/posts/git-stash-basics/66cc408b6b50f1c9979fcef0"
---

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

Discussion

# [Git Stash Basics](https://anirudhamahale.hashnode.dev/git-stash-basics?utm_source=hashnode&utm_medium=feed)

1) To Stash all the files including untracked files git stash push -u -m "message" 2) To View all the stash git stash list 3) To apply a stash git stash apply stash@{0}

Aug 26, 2024 · 1 min read · anirudhamahale.hashnode.dev  
Read the article

-   [#git-commands](https://hashnode.com/tag/git-commands)
-   [#git-stash](https://hashnode.com/tag/git-stash)

## Written by

[Anirudha Mahale](https://hashnode.com/@anirudhamahale)

@anirudhamahale · Goa, India

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

Sr Software Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
