I'd like to port someone else's repo to another language. In my case: SCSS -> Stylus
, but it could easily have been Javascript -> Coffeescript
.
What is the best way to go about this? Should I:
Also, what is the best way to continue updating the new language repo?
Ideally, I'd be able to diff my original CSS copies against the new changes to the main repo's CSS, and then change my Stylus files accordingly. Is there an easy way to do this?
Because you want to track it over time, I would probably fork the existing repo and then do the changes in a separate branch ("rewrite-for-foo"). Because that way when you check out the master again and can look through the recent changes and diff history, you can easily see what you need to apply to the rewrite. And more importantly, you may actually want to keep at least some of the original files in your new distribution, such as documentation, configuration files, etc. By forking and using branches you can track the few changes you do want from the original distribution better.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With