git clone depth 1 example

preview_player
Показать описание
If you need to quickly pull the code from your repo, and you only want the latest commit on a specific branch, then this git clone depth 1 example is for you. It'll show you how to clone a repo and only bring back one branch and one commit. Yes, it's not only one commit, but only one branch. All the other branches are ignored.
Enjoy!
Рекомендации по теме
Комментарии
Автор

This is really nice.. cleared all my doubts

abhishekgarg
Автор

can you make a video on shallow clone of a git tag?

tarunorton