Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using simple-git for code distribution #403

scripting opened this issue Oct 18, 2019 · 0 comments


Copy link

@scripting scripting commented Oct 18, 2019

I have a what I think should be a simple application for simple-git.

basically want to do a one-way sync from a sub-folder of a git repo to a local folder.

My git skills are not very great. I have a call to .clone that gets the whole repo. I want to download a copy of just one folder.

const urlRepo = "";
const localFolderPath = "myAppFolder/";

git.clone (urlRepo, localFolderPath, function (err) {

I'd like to do a clone of just part of a repo, basically.

Any help much appreciated.


PS: A full write-up is here with an example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.