📜  apply stash git - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:03.990000             🧑  作者: Mango

代码示例6
# git stash apply takes a stashed change and applies it to your current working
# tree (also leaving it on the “stash stack”). git stash branch creates a new
# branch from the same commit you were on when you stashed the changes,
# and applies the stashed changes to that new branch.
USAGE:
git checkout stash@{index} --  #stash particular file
e.g. git stash apply stash@{0} #applys whole of most recent stash