carpentries-incubator / git-novice-branch-pr

Version Control with Git
https://carpentries-incubator.github.io/git-novice-branch-pr
Other
5 stars 17 forks source link

Update with latest changes from SWC #14

Closed sstevens2 closed 6 years ago

sstevens2 commented 6 years ago

Hey @pshriwise I was thinking it would be nice to update our version of the lessons to the lastest swc ones. I went through some which I could easily diff and most of the changes were small but nice improvements. I'm thinking maybe this could be done with a rebase but as I've never done one before I could use some advice. What do you think? Sarah

pshriwise commented 6 years ago

Yeah I think that would be right move in terms of keeping a clean history, but it's a little tricky because this would require a force push at some point to rewrite the history the gh-pages branch (I think). I still think its the way to go so that future updates to those lessons can be incorporated here though if you're comfortable with it.

To make future updates easier, I think I'd recommend making a gh-pages-upstream branch in this repo that is always in sync with the latest swc lessons. The served gh-pages branch here will always be based on that.

So the steps would be:

and then it should be all set! Fingers crossed for no conflicts...

sstevens2 commented 6 years ago

Maybe you can walk me through this tomorrow at the meeting?

pshriwise commented 6 years ago

Sure thing!