What does the “.git” mean in a git URL?

后端 未结 4 1524
名媛妹妹
名媛妹妹 2021-02-20 02:06

I setup a git repo in foo

cd
mkdir foo
cd foo
git init

Now I want to reference that remotely

git clone git+ssh://me@somemachine         


        
4条回答
  •  孤街浪徒
    2021-02-20 02:49

    .git has no special meanings, weather you need to add it depends where the repo is located on server side, with or without .git.

    sometimes a repo with .git imply it is a bare repo.

提交回复
热议问题