Elektrine lite

← Feed

@BartyDeCanter@piefed.social

Post #3358367

2026-06-20 03:59 UTC

The number one thing to remember about git is that you don’t need a full hosting service around it for basic functionality. If it’s just you, a single local repo will probably serve you just fine, maybe use a bare repo on your main machine or a Pi-level device if you like as a remote/backup. Just git init or git init --bare and you’re good to go. GitHub, Codeberg, Forgejo, and all the others exist to serve multi-contributor and/or public project-level needs. The number two thing to remember is that it is based around graph theory that almost no one remembers the fine details of.

Replies (1)

  • @MonkeMischief@lemmy.today 2026-06-20 13:52

    That’s some really helpful advice, thank you! 😃 I actually didn’t know you could just make any local folder a repo like that. Would a Forgejo instance still be helpful if I wanted to have “one point of truth” between multiple machines even if I’m the only dev? I already use Syncthing, but for some reason I feel like there’d be a lot of sync conflicts and stuff. The other main reason for wanting to learn Git, of course, is because it’s otherwise more difficult to try out changes to scripts and experiment, without finding yourself lost in the weeds and forgetting what worked last. My current “version control” is “copy the entire project folder before you do anything major.” 😂

    Open ##3360529