Moving a git repo to a second computer?

前端 未结 5 1614
遥遥无期
遥遥无期 2020-12-02 22:15

I have a project with a simple local git repo, and I want to move this project (folders etc.) to another computer and work from there from now on. I don\'t want to

5条回答
  •  盖世英雄少女心
    2020-12-02 22:49

    Yes it's enough to copy the data to the other machine. Using git clone is almost the same thing, but it will setup the computer you are cloning from as the remote origin, which might not be what you want.

提交回复
热议问题