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

Question: what's the purpose of the clone? #34

Closed
murtaugh opened this issue Jun 6, 2014 · 3 comments
Closed

Question: what's the purpose of the clone? #34

murtaugh opened this issue Jun 6, 2014 · 3 comments

Comments

@murtaugh
Copy link

murtaugh commented Jun 6, 2014

Two questions, I guess:

  1. Why clone the repo before copying it over? (this probably reveals my ignorance of dealing with files)
  2. Does the clone action copy over all files, or just changed ones? (this reveals my ignorance of git...)
@markomarkovic
Copy link
Owner

There are no files on the server machine to copy before the cloning action. Clone makes the initial copy of the REMOTE_REPOSITORY in the TMP_DIR. If the TMP_DIR already exists, only the changes are fetched and not the entire repo.

@murtaugh
Copy link
Author

murtaugh commented Jun 7, 2014

Thanks!

@eliataylor
Copy link

eliataylor commented Nov 28, 2017

why not git pull instead?

that would avoid the problems like #81 and pull in new branches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants