nowfound

Dev tools · July 29, 2023

Gogit – Just enough Git (in Go) to push itself to GitHub

In which I rewrite my toy pygit client in Go to see how suitable Go is for simple scripts.

Gogit – Just enough Git (in Go) to push itself to GitHub launched on July 29, 2023 with 176 votes, #229 of 4,347 launches that month and more than 95% of that year's launches. The site was still online in September 2026, 3 years on.

Visit benhoyt.com ↗Alternativestop 5% of July 2023

In plain words

Gogit is a Git implementation written in Go that provides essential Git functionality for pushing code to GitHub. Designed for developers who need core Git capabilities without full complexity, it demonstrates a minimal but functional approach to version control. The project is particularly notable for being self-hosting—it uses its own implementation to push itself to GitHub, proving its practical viability for basic Git workflows.

written from the facts on this page · September 2026

From the sources

A few years ago I wrote pygit , a small Python program that’s just enough of a Git client to create a repository, add some commits, and push itself to GitHub. I wanted to compare what it would look like in Go, to see if it was reasonable to write small scripts in Go – quick ’n’ dirty code where performance isn’t a big deal, and stack traces are all you need for error handling. The result is gogit , a 400-line Go program that can initialise a repository, commit, and push to GitHub. It’s written in ordinary Go … except for error handling, which is just too verbose in idiomatic Go to work well for scripting (more on that below ). I won’t go into detail about how Git works here (there’s a bit…from benhoyt.com

Does a similar job

all alternatives →

More dev tools this month

the category →
  • /dev/null▲484

    a social network for devs

    Dev tools · 3d ago · dev-null.sh

  • open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.

    Dev tools · 28d ago · github.com

  • Contribute to reladraw/reladraw development by creating an account on GitHub.

    Dev tools · 26d ago · github.com

  • OpenBot▲362

    Grok Bot alternative: free, local, open-source, multiplayer

    Dev tools · 23d ago · openbot.run

  • Talanoa▲346

    Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…

    Dev tools · 21d ago · talanoa.email

  • CoreSpeed▲332

    One MCP for everything your agents need: apps, memory, tools

    Dev tools · 28d ago · corespeed.io

Source: Show HN post ↗

Launched alongside, July 2023

the whole month →
  • Clustr▲1,526

    The reality check for your crypto portfolio

    Commerce · 2023 · clustr.io

  • Hey everyone, I here is a small open-source project I've been working on lately. I'd love to hear your thoughts and improvement ideas :) GitHub: [github.com/Vincenius/workout-lol](https://github.com/Vincenius/workout-lol)

    Dev tools · 2023 · workout.lol

  • HN

    I saw this [0] pretty cool thread by user revskill, and wanted a quicker way to search through it, but also to keep them all in one place so I can read them at my leisure whenever I get time. Right now is like 60 lines of Ruby using Nokogiri, but I will certainly look into it further down the line and improve the list. There's a cronjob checking the thread every 12 hours but I will eventually shut that down and it will become static after that. There are some really awesome blogs in there. I really recommend going through the list, it made my day. [0] "Could you share your personal blog…

    Life & fun · 2023 · dm.hn

  • Lazy▲928

    One ⌘ shortcut to capture anything straight to Notion

    AI · 2023 · lazy.so

  • Anytype is built on the open-source AnySync protocol: a local-first protocol based on CRDTs. Users of Anytype can create spaces - graph-based databases with modular UI. Each space has unique access rights. Today, Anytype's beta is in single-player mode. Multiplayer mode, which will support local-first collaboration between multiple users, will be launched in the first half of 2024. Anytype fulfils the seven ideals of local first software from here - https://www.inkandswitch.com/local-first/ , our team felt these things are important to all of us: • No spinners: your work…

    Commerce · 2023 · anytype.io

  • n8n 1.0▲786

    Workflow automation for technical people

    Dev tools · 2023 · n8n.io