문제

I created a hotfix using git flow. Now I did that a while ago and committed few files to the development environment. Then I switched to another feature. Now I wish to see the list of files I changed/committed against this hotfix.

Could any one please give the command on how to list the files.

도움이 되었습니까?

해결책

Check out the hotfix branch and do

git diff --name-only master

That will show you all the files that have changed in the hotfix branch.

git diff --name-status master

will do the same but with an A for Added, M for Modified and D for Deleted to give you a more detailed overview of the changes.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top