且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

按数字引用git stash,不包含stash @ {i}

更新时间:2023-11-28 23:21:40

是的,它是从v2.11开始内置在Git中的.您只能按索引引用任何存储.例如,要应用索引2的存储,您可以输入

Yes, this is built-in to Git as of v2.11. You can refer to any stash by index only. For example, to apply the stash at index 2 you can type

git stash apply 2