GitGit

Stash

Stash

我正改到一半,需要先去做别的事,能不能把当前的工作先存起来?

terminal
$ git stash push -m "wip"
Saved working directory and index state WIP
$ git stash pop

stash · 图文示意

© 2026 Genisource Vibe · 知识点详情