开发者

List of changed files

开发者 https://www.devze.com 2023-03-13 21:23 出处:网络
How to get list of changed files in a particular changeset? I expected it to be 开发者_StackOverflow

How to get list of changed files in a particular changeset? I expected it to be

开发者_StackOverflow
git diff --name-only a329a7b3b85a2f23d2cc2b6c897dc30fb25fa6a5

for changes made by me in a329a7b3b85a2f23d2cc2b6c897dc30fb25fa6a5, BUT it returns the changes made in the revision that follows right after mine. So I need to find the id of previous changeset :-S

Is it expected behaviour? Why is it?!


You want

$ git show --oneline --name-only sha

or perhaps

$ git show --format=format: --name-only sha
0

精彩评论

暂无评论...
验证码 换一张
取 消