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

fix(git): Fix update error for existing repo #12

Merged
merged 2 commits into from
Mar 14, 2019
Merged

Conversation

durandj
Copy link
Owner

@durandj durandj commented Mar 14, 2019

If the the repository already exists then an exceptionw as being thrown.
This was because we were always assuming that we needed to clone a new
repository but this would break if the directory already exists as a git
repository. In that case, we need should be doing a git pull instead.

If the the repository already exists then an exceptionw as being thrown.
This was because we were always assuming that we needed to clone a new
repository but this would break if the directory already exists as a git
repository. In that case, we need should be doing a `git pull` instead.
@durandj durandj self-assigned this Mar 14, 2019
@durandj durandj merged commit 4a9f59b into master Mar 14, 2019
@durandj durandj deleted the update-existing-repo branch March 14, 2019 11:51
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

Successfully merging this pull request may close these issues.

1 participant