Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Owain Williams 480 posts 1412 karma points MVP 6x c-trib
    Jan 07, 2019 @ 14:31
    Owain Williams
    0

    Sharing a project in github

    Hi!

    I'm trying to work out how I can share an Umbraco cloud project on github which will allow people to contribute to the site by creating pull requests which I can then merge in to the site.

    Can anyone point me in the right direction or explain how I should go about this.

    Thanks. Owain

  • Søren Kottal 702 posts 4497 karma points MVP 5x c-trib
    Jan 07, 2019 @ 18:38
    Søren Kottal
    100

    Hi Owain

    Here is what I would do.

    Keep the existing Cloud repository, and use that as the "deployment repository".

    Add a new repository on Github (or similar), and add that as a remote to your local cloud repository. Push all the contents of your repository to the github one.

    That will give you two copies of the same repository, who can work together - just like your existing local and remote repository.

    You might even be able to have Github merge any changes into the cloud repository automatically - I don't know how to do that, so I would go for a manual way of updating.

    When contributions are getting merged into master on your github repository, you can merge those changes back into your local repository, and then push them to the remote (Cloud) repository, for deploying.

    On the other hand, when Umbraco Cloud updates automatically, you can pull those changes to your local repository and push them to the Github one.

  • Owain Williams 480 posts 1412 karma points MVP 6x c-trib
    Jan 08, 2019 @ 12:55
    Owain Williams
    1

    Thanks!

    That seems to have got me thinking in the right way and I think I've got it working now :)

    O.

Please Sign in or register to post replies

Write your reply to:

Draft