开发者

List of changed files

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜