Home > Uncategorized > Download/Checkout a single directory from github.

Download/Checkout a single directory from github.

lets assume, the repository is https://github.com/Prosunjit/Essential.git

It contains following directories Latex/ACM_latex_template_enhanced and Latex/ACM_latex_template_original

Now, I like to download following directory Latex/ACM_latex_template_enhanced

one way to do it with svn command [1]. I use the following command to download/ checkout the Latex/ACM_latex_template_enhanced directory.

svn checkout https://github.com/Prosunjit/Essential/trunk/Latex/ACM_latex_template_enhanced/

You can also see whether a file exist using svn ls command by using

svn ls  https://github.com/Prosunjit/Essential/trunk/Latex/ACM_latex_template_enhanced/

reference:

[1]. http://stackoverflow.com/questions/7106012/download-a-single-folder-or-directory-from-a-github-repo

Advertisements
Categories: Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: