Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a maximum number of git stashes?

Tags:

git

git-stash

Is there a maximum number of git stashes, or can you have as many as you like?

I'm aware that

git stash list

doesn't list as many results as

git stash list --date=local

But does Linus Torvalds think that anyone with more than x stashes is an idiot who deserves to lose the old stashes?

like image 887
Andrew Grimm Avatar asked Jan 05 '11 01:01

Andrew Grimm


1 Answers

There is no hard limit to stashes. Stashes are simply implemented using the reflog of a specially-named ref called stash.

like image 155
Lily Ballard Avatar answered Oct 06 '22 17:10

Lily Ballard