How to check the files pulled down after git-pull? what are the changes?
Xiaobian to share with you how to view the files pulled down after git-pull, I hope you have gained something after reading this article, let's discuss it together!
git pull automatically performs git add /rm and git commit operations on the modified files pulled down. So the files pulled down have those changes that can be viewed in a way that attributes them to the comparison of the last submission.
git diff HEAD shows the difference between the working directory and the git repository, while git diff HEAD^shows the difference between the working directory and the git repository before the last commit. So after git pull, we can use git diff HEAD^to see what specific changes have been made to the pulled file.
After reading this article, I believe you have a certain understanding of "how to view the files pulled down after git-pull". If you want to know more about it, welcome to pay attention to the industry information channel. Thank you for reading!