Git doesn't any commits when you create the repository.
You'll have to do that yourself.
So the correct answer here is zero.
Now Git could create an initial commit with everything in the directory, but
it doesn't do that for a couple of reasons.
The first is you might not want to commit everything in the directory, and
second, you wouldn't be able to write your own commit message if
Git created the commit for you.
You can find out what commits are in your repository by running git log.
Let's try that out on this new repository.
.لا يتضمن Git أية تثبيتات عند إنشاء المستودع
.يجب أن تفعلوا ذلك بأنفسكم
.لذلك الإجابة الصحيحة هي صفر
يستطيع Git إنشاء تثبيت أولي مع كل شيء في الدليل، ولكنه
.لا يفعل ذلك لسببين
،السبب الأول هو أنكم لا تريدون تثبيت كل شيء في الدليل
والسبب الثاني أنكم لن تستطيعوا كتابة رسالة التثبيت الخاصة بكم
.في حالة قيام Git بإنشاء التثبيت من أجلكم
.يمكنكم اكتشاف التثبيتات الموجودة في المستودع لديكم عن طريق تشغيل git log
.لنجرب ذلك في هذا المستودع الجديد
새로운 저장소를 만들면
커밋이 하나도 없습니다
직접 만들어야 하죠
따라서 정답은 0 입니다
디렉터리에 있는 모든 파일로
최초의 커밋을 만들 수도 있지만
몇 가지 이유로
그렇게 하지 않습니다
첫 째로 모든 파일로
커밋 하기를 원하지 않을 수 있고
둘 째로 Git 이
커밋을 만들어 준다면
커밋 메시지를 남길 수 없습니다
git log 를 사용해서 저장소에
있는 커밋을 확인할 수 있습니다
이 새로운 저장소에서
한 번 해보겠습니다
O Git não efetua commits quando você cria o repositório.
Você terá que fazer isso sozinho.
A resposta certa aqui é zero.
Agora o Git poderia criar um commit inicial com tudo no diretório, mas
ele não faz isso por duas razões.
A primeira é que você pode não querer efetuar commit de tudo no diretório e
segundo, você não poderá escrever sua própria mensagem de commit se
o Git tiver criado o commit para você.
Você pode descobrir quais commits estão em seu repositório executando um git log.
Vamos experimentar isso neste novo repositório.
你创建存储库时 Git 不会进行任何提交
你必须自行提交
所以正确的答案是零
现在 Git 可以用目录中的所有内容创建初始提交
但出于多种原因 它不会那样做
第一个原因就是你可能不想提交目录中的所有内容
第二个原因是 Git 为你创建提交后
你将无法写入自己的提交消息
你可以运行 git log 查找你存储库中的提交
我们对这个新的存储库尝试执行一下此操作吧