gpt4 book ai didi

针对存储的 Git diff

转载 作者:IT王子 更新时间:2023-10-29 01:07:38 27 4
gpt4 key购买 nike

如何查看存储中对当前工作树所做的更改?我想知道在应用它们之前会进行哪些更改!

最佳答案

查看最近的存储:

git stash show -p

查看任意存储:

git stash show -p stash@{1}

来自 git stash 联机帮助页:

By default, the command shows the diffstat, but it will accept any format known to git diff (e.g., git stash show -p stash@{1} to view the second most recent stash in patch form).

关于针对存储的 Git diff,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7677736/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com