# 'git stash' pushes files that are not listed in the command line

1 messages from 2026-07-31 to 2026-07-31. Participants: Yuri.
Thread: https://gitlist.dev/t/66092

## Yuri, 2026-07-31 07:49

Subject: 'git stash' pushes files that are not listed in the command line
Message-ID: <334fa4a8-1a84-4528-8f8f-9b1e9607bb75@rawbw.com>

```
I work in the FreeBSD ports tree.
There are multiple ports (subdirectories) that have changes.


I intend to stash only 3 ports:
$ git stash push -m "docling: some updates" textproc/py-docling 
textproc/py-docling-mcp textproc/py-docling-slim


However, other files also get into stash:
$ git stash show -p
diff --git a/misc/github-copilot-language-server/distinfo-node22 
b/misc/github-copilot-language-server/distinfo-node22
new file mode 100644
index 000000000000..cc34bd17864f
--- /dev/null
+++ b/misc/github-copilot-language-server/distinfo-node22
@@ -0,0 +1,11 @@
+TIMESTAMP = 1777521723



misc/github-copilot-language-server also has some changes but it was not 
requested to be stashed.


How can I understand why does this happen?


I believe that I've seen a similar situation before with different ports.




Thanks,
Yuri

```
