git repository sync between computers, when moving around?

前端 未结 8 791
萌比男神i
萌比男神i 2020-12-07 07:18

Let\'s say that I have a desktop pc and a laptop, and sometimes I work on the desktop and sometimes I work on the laptop.

What is the easiest way to move a git repo

8条回答
  •  死守一世寂寞
    2020-12-07 08:08

    Well, you can push and pull (via Git) to the server you could potentially set up. Or you could store your repos at GitHub and use that as a syncing bridge.

提交回复
热议问题