so after you use shallow cloning in git using –depth 1, if you call git pull you will find that git will pull all changes not just –depth 1.
to honour the –depth 1 from cloning we call call git pull with the same depth:
git pull –depth 1 origin master
life saving stuff
Leave a Reply