Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I use gist remotes a lot by creating a gist and adding it as a remote to a local git directory.

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



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?


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: