I like that this doesn't assume what editor and git remote someone uses unlike github1s which is further pushing the development community toward centralizing on Github+VScode. Diversity is good. You inspired me to write my own. Here is a 9-line shell script version of git-peak: https://git.sr.ht/~alexdavid/dotfiles/tree/master/bin/git-pe... It doesn't do any fancy tarball magic for Github links, but the shallow clon…
Show HN: git-peek – git repo to local editor instantly
31–39 of 39 posts
Re: Show HN: git-peek – git repo to local editor instantly
#32I like that this doesn't assume what editor and git remote someone uses unlike github1s which is further pushing the development community toward centralizing on Github+VScode. Diversity is good. You inspired me to write my own. Here is a 9-line shell script version of git-peak: https://git.sr.ht/~alexdavid/dotfiles/tree/master/bin/git-pe... It doesn't do any fancy tarball magic for Github links, but the shallow clon…
Why not just curl the raw file and ignore any git cloing at all?
Re: Show HN: git-peek – git repo to local editor instantly
#33I ask because I've been looking to improve my Shopify workflow. Buddy.works does the deploy to Shopify. But I'm trying to cut out the push. More or less changes + saves become commits, and then instantly deploy.
If not, perhaps someone can recommend something else?
Re: Show HN: git-peek – git repo to local editor instantly
#34Re: Show HN: git-peek – git repo to local editor instantly
#35Re: Show HN: git-peek – git repo to local editor instantly
#36Re: Show HN: git-peek – git repo to local editor instantly
#37Earlier quoted context omitted.
Does it work with private repos? I tried github1s with a private repo and it threw an authorization error.
Now it does. If you have the `GITHUB_TOKEN` environment variable set to a personal access token or if you happen to use the hubs github cli it will work
Re: Show HN: git-peek – git repo to local editor instantly
#38Earlier quoted context omitted.
some kind of httpfs mount? That would be seriously cool!
Oh. Yeah, ofc, my fault. I missed that.
Re: Show HN: git-peek – git repo to local editor instantly
#39Isn't this a 2-line shell script?