4 ms·
> I can even share that branch between multiple machines in my house without setting up any server infrastructure. What's your workflow for this?
by scoot 10y ago
> I can even share that branch between multiple machines in my house without setting up any server infrastructure.
What's your workflow for this?
- greggman 10y agoI think they mean without setting up a VCS server. You still need for the 2 machines to be able to access each other somehow, usually ssh (which is technically a server), or a file server (NFS, samba, which is also technically a server), but, many people have one or both of those running already running. If so it's just git clone ssh://name@addressOrNameOfMachine/path/to/repo or git clone path/to/shared/folder etc...
- sevensor 10y agoAlso, you could clone to a thumbdrive and push to / pull from there. No servers at all.
- davidbanham 10y agotar cvf repo.tar .git && cp repo.tar /media/thumbdrive
- rossy 10y agoYeah, like greggman said, I was mainly referring to SSH, though I've also transferred repositories with a flash drive before. I once worked on a project with a coworker where we used git daemon to pull from each other, which is technically a server, but easy to set up and we didn't have to bug the IT department about getting a real server to use. It worked surprisingly well.