setting up git repository on local machine

后端 未结 3 602
日久生厌
日久生厌 2021-02-01 07:25

How can I setup a git repository on a local system ? (I am on a windoze box)

This is the setup I am trying to achieve: (everything is on my local machine)

3条回答
  •  旧时难觅i
    2021-02-01 07:48

    In your client directory you have will notice a .git directory. A bare version is basically just that .git directory contents without a working copy.

    Easiest thing to do would be to clone it (vs trying to setup another repository):

    From c:/ call:

    git clone d:/host client
    

    This says clone the 'host' repo and store it under a folder called 'client'.

提交回复
热议问题