synchronization - How to sync git repo between two PCs? -


this might seem simple thing experts, i'm new git , finding hard think of keywords search come usable answers me...

i need programming embedded device not portable , not inside house.

i want write of code on desktop pc runs ubuntu, , when code ready , committed, sync repo on laptop (also running ubuntu), take laptop outside reprogram embedded device with.

the desktop , laptop on same wifi network when inside house.

at time, don't want use github or external service syncing.

how can achieve this? git have kind of server can pull updates desktop laptop?

also, if need make changes while i'm outside, how send changes desktop?

git can not work in p2p mode, center server required. if not want use github , may construct owner git server.


Comments