Hacker News new | ask | show | jobs
by moeen-mahmud 527 days ago
Amazing idea!! It starts making me think differently. Thank you so much for sharing this. Could you tell me more about storing and sharing the "gist/pastes" for later use? For example the link validity, or share only with a certain group of people?
2 comments

I use them to share the entire experiment with other developers , so they can clone the gist and have the exact copy of what I have

e.g. https://gist.github.com/tonymet/d5df33b6a5003e1281c458a2d58d...

gist's "clone with ..." feature is very powerful. It's a unique and (from what I can tell) permanent remote that you can push to. it has some restrictions on naming and file content.

but i would love to see your product run with "clone with..." but make it work for all your experiments

I just wrote up a guide on doing something similar with subtree and a large "experiments" repo .

https://dev.to/tonymet/how-to-put-everything-in-git-2b3d

Just read your post. Honestly, I didn't think that way for sharing code. Thank you so much for this! Bookmarked.