git clone: 3 ways
First
git clone git@github.com:whatever folder-name
Second
Clone repo, create folder, move repo's content (including .git dir) to created folder. For example:
git clone git@github.com:whatever
mkdir mycooldir
cp -r whatever/* mycooldir/
Third
Create dir for storing your git repos. For example
mkdir ~/repos
Clone your git repo into folder with specific name:
git clone git@github.com:whatever folder-name
Create symbol link in the place, where it's should be. For example, if it's wordpress theme:
cd ~/data/www/wordpress/wp-content/themes/
ln -s ~/repos/mycooltheme
Written by Dmitry Belaventsev
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
khasinski
591.1K
dmichaelavila
500.4K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#