Git clone uses --depth which causes issues and is inconvenient · Issue #4901 · microsoft/vscode-remote-release · GitHub
![Error while syncing the local git repository to remote repository | error: unpack failed: error Shallow object update failed | Shallow vs Full Cloning Error while syncing the local git repository to remote repository | error: unpack failed: error Shallow object update failed | Shallow vs Full Cloning](https://1.bp.blogspot.com/-VuKZX87eGNU/YTJXgpngyBI/AAAAAAAADhc/C8q5K7iSWtsG3bwhqx-kX41I33PFaspHgCLcBGAsYHQ/s831/s1.png)
Error while syncing the local git repository to remote repository | error: unpack failed: error Shallow object update failed | Shallow vs Full Cloning
![Minko Gechev on Twitter: "Reminder that you can use `git clone ... --depth 1` in CI to speed up clones without pulling your whole history https://t.co/MJTFNHO5lg" / Twitter Minko Gechev on Twitter: "Reminder that you can use `git clone ... --depth 1` in CI to speed up clones without pulling your whole history https://t.co/MJTFNHO5lg" / Twitter](https://pbs.twimg.com/media/FiG3tDfUcAA5cE1.jpg)
Minko Gechev on Twitter: "Reminder that you can use `git clone ... --depth 1` in CI to speed up clones without pulling your whole history https://t.co/MJTFNHO5lg" / Twitter
![Error while syncing the local git repository to remote repository | error: unpack failed: error Shallow object update failed | Shallow vs Full Cloning | by Albin Issac | Tech Learnings | Medium Error while syncing the local git repository to remote repository | error: unpack failed: error Shallow object update failed | Shallow vs Full Cloning | by Albin Issac | Tech Learnings | Medium](https://miro.medium.com/max/640/0*-H4Qs8HbgAXscxap.png)