Goto your project home directory in git bash command prompt and execute below commands.
a). If you have a branch which is same as branch used by your team in your local then execute below command.
git pull origin your_branch_name
Here branch name is corresponding to branch name used by your team.
b). Otherwise execute below commands.
- git checkout -- . (if you don't need current changes in your local)
- git fetch origin
- git checkout -b your_branch_name origin your_branch_name
Finally execute below commands to see last commit details
- git diff HEAD^ (for last commit diff)
- git log (to check commits added by users details)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…