25
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 25 Oct 2024
25 points (96.3% liked)
Programming
17314 readers
65 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 1 year ago
MODERATORS
Git doesn't need to have a single pull source. It's probably worth just configuring the visibility on each machine so you can do peer pulls.
I don't hate the idea of autocommitting in that scenario, though.
Sorry, but I'm not really following here. Do you mean like
git add remote
and have another remote? What would the source be?your machines
git add remote laptop ...
That would require my machines to be git servers, right? And hence they should also be on, right? Or am I missing something? Most of the time, my laptop is shut off.
It's no worries - most people don't realize this but every git repository is, well, a fully functional git repository. Git shell runs over ssh so as long as your machines have sshd running you should be good.
https://git-scm.com/book/en/v2/Git-on-the-Server-Setting-Up-the-Server