this post was submitted on 29 Apr 2025
246 points (98.4% liked)

Technology

69449 readers
4137 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Appoxo@lemmy.dbzer0.com 1 points 19 hours ago (2 children)

But to push/pull you'd in theory need to port forward your git server/workstation, right?

[–] kuberoot@discuss.tchncs.de 1 points 7 hours ago

Git exposes a lot of internals through odd commands, so I suspect you could manage synchronization by sending changes over email or something.

Bonus fun fact: there's a git bundle command that "dumps" the repository into a single file, that can be interacted with as a remote. So if you're ever working with a local repository and want to put it on a server over ssh or something like that, you can just create a bundle, scp it over, and clone from that on the server.

[–] thevoidzero@lemmy.world 4 points 18 hours ago

Git works through ssh. So you need the same system as sshing into your machine. You just make a user group git and then let git and ssh handle things. And if you don't need people to push to your repo, then it's a lot easier as it's now similar to hosting a website/file server.