Re:Show HN: I'm tired of sharing code using PasteBin and Sla...
by moeen-mahmud on Friday January 03, 2025 @02:57PM
(#42588926)
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?
Re:Show HN: I'm tired of sharing code using PasteBin and Sla...
by tonymet on Friday January 03, 2025 @03:05PM
(#42589002)
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...
Re:Show HN: I'm tired of sharing code using PasteBin and Sla...
by tonymet on Friday January 03, 2025 @03:08PM
(#42589016)
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 .
Re:Show HN: I'm tired of sharing code using PasteBin and Sla...
by moeen-mahmud on Friday January 03, 2025 @03:29PM
(#42589185)
Just read your post. Honestly, I didn't think that way for sharing code. Thank you so much for this! Bookmarked.
If i were using your tool, it would be nice to have a single "turbogist" repo for all of the gists. That way i could send gists into it with git push
you could do something clever like this by having turbogist server manage the prefixes , so a git push from any repo would automatically consolidate all of the various prefixes into the turbogist account