git clone

Table of Contents

git clone reference

# Clone only 'gh-pages' branch of 'note.git' repo into './notes-gh-pages'
git clone --branch gh-pages --single-branch https://github.com/yeonghoey/yeonghoey.git yeonghoey-gh-pages
#              └─ -b, can also be a tag
# Clone just the latest revision
git clone --depth=1 'https://github.com/yeonghoey/yeonghoey.git'

Clone the latest revision only howto

# Clone just the latest revision
git clone --depth=1 'https://github.com/yeonghoey/yeonghoey.git'