There are a lot of answers stating that git 1.9 removes limitations of shallow clones. Nevertheless, I\'m using 2.6.1 and still having the following basic issue:
If your remote is shallow and you want to merge from it, compress that merge into a single commit without the need to copy a history of commits (which shallow refs hide).