git将指定的commit中的文件另存为

$ git show 455a0e18a82899696de78c56f242d607387e186c --stat
commit 455a0e18a82899696de78c56f242d607387e186c
Author: yansiyu <yansy115@163.com>
Date: Mon Apr 21 10:41:40 2025 +0800

导入<U+0080>

webAPI/src/app/Api/goods.php | 87 +++++++++++++++++++++-
2 files changed, 96 insertions(+), 3 deletions(-)

TR@DESKTOP-O5SHLOL MINGW64 /g/xampp/htdocs (Pre-launch)
$ git show 455a0e18a82899696de78c56f242d607387e186c:webAPI/src/app/Api/goods.php > goods.php

TR@DESKTOP-O5SHLOL MINGW64 /g/xampp/htdocs (Pre-launch)
$

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: