简体   繁体   中英

How to see what files will be 'pulled' when I do a git pull

I am on branch master and there are multiple users doing simultaneous pushes to the branch in the same repository. Now I need to do a git pull but I am not sure what files will be pulled as I don't know what all files were pushed.

Is there a way to know exactly what files will be pulled or what changes will be made if I do a git pull before the actual pull/merge is done?

您可以尝试:

git fetch && git log --name-only HEAD..@{u}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM