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

add git_clone resource #261

Open
sebhoss opened this issue Apr 17, 2024 · 4 comments
Open

add git_clone resource #261

sebhoss opened this issue Apr 17, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@sebhoss
Copy link
Member

sebhoss commented Apr 17, 2024

I think it should behave similar to git_init but instead of creating a new blank repo locally, it should clone an existing remote repository.

@sebhoss sebhoss added the enhancement New feature or request label Apr 17, 2024
@shk3bq4d
Copy link

Hello,
would it pull with rebase or would this be the responsibility of another resource?

@sebhoss
Copy link
Member Author

sebhoss commented Jun 27, 2024

hmm I would probably create another resource called git_pull which can be configured to do rebases or not. My idea behind git_clone was really more like git clone on the command line. Would that work for you?

@shk3bq4d
Copy link

Of course this totally makes sense and is inline with the spirit of doing one thing (but doing it well) of all other resources.

Thanks a lot for your follow up!

@sebhoss
Copy link
Member Author

sebhoss commented Jun 27, 2024

Sure no problem! Thanks for letting me know that there is some interest in this provider ❤️ I've created #280 for the git_pull resource

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

No branches or pull requests

2 participants