Reputation: 7511
In this particular case I am trying to get all files from the project
https://github.com/spring-projects/spring-integration-samples/tree/master/basic/amqp
I am on Mac OS with git installed in the shell. So I am trying to construct a git clone command based on How to `git clone` including submodules? or some other similar links. Neither of my command works
Upvotes: 0
Views: 97
Reputation: 50550
Simply clone it:
git clone https://github.com/spring-projects/spring-integration-samples.git
Then, if it has submodules, get them using:
git submodule update --init
That's all.
You will have the whole project cloned on your machine. If you are interested in a specific subdirectory, simply explore it.
As far as I can see, the directory you are interested in is not a submodule of the project, so downloading the latter and visit the former is a good approach.
EDIT
As suggested in the comment by HBHB, you can do the same even using a single command:
git clone --recursive https://github.com/spring-projects/spring-integration-samples.git
Upvotes: 2