Now, I'll run git log on my new repository to see what commits it has.
I get the error message, fatal: bad default revision HEAD.
Now, head is git's name for the current commit.
So, this error message is letting me know that I can't view my commit history,
because there aren't any commits yet.
To see that this really is a git repository, I can run git status.
Status is a command I like to run frequently,
because it shows which files have changed since the last commit.
Right now, I can see that I'm on the master branch.
We'll discuss what that means later in this lesson.
Now, git would ordinarily show the most recent commit.
But since there isn't one, it says initial commit here.
And git says that my three files are untracked,
because its not tracking the history of those files yet.
Now, go ahead and follow the same steps to create a repository for
your reflections.
Run the commands git init and
git status in the directory where you've created your reflections.
When you're finished, paste the output of git status into this box.
.الآن، سأقوم بتشغيل git log على المستودع الجديد لرؤية التثبيتات الذي يتضمنها
.ظهرت رسالة الخطأ، fatal: مراجعة افتراضية سيئة HEAD
.الآن، العنوان هو اسم git للتثبيت الحالي
،لذلك، رسالة الخطأ تخبرني أنني لا أستطيع عرض سجل التثبيت
.بسبب عدم وجود أية تثبيتات حتى الآن
.لمعرفة أن هذا مستودع git بالفعل، يمكنني تشغيل git status
،Status عبارة عن أمر أرغب في تشغيله كثيرًا
.لأنها تعرض الملفات التي تم تغييرها منذ التثبيت الأخير
.الآن، يمكنني رؤية أنني في الفرع الرئيسي
.سنناقش معنى هذا في وقت لاحق من هذا الدرس
.الآن، يعرض git أحدث تثبيت عادةً
.ولكن بسبب عدم وجود تثبيت، يذكر التثبيت الأولي هنا
،ويذكر git أنه لم يتم تتبع الثلاثة ملفات الخاصة بي
.لأنه لم يتتبع السجل لهذه الملفات حتى الآن
تابعوا الآن، واتبعوا نفس الخطوات لإنشاء مستودع
.لأفكاركم
قوموا بتشغيل أوامر git init
.وgit status في الدليل حيث قمتم بإنشاء أفكاركم
.عند الانتهاء، الصقوا إخراج git status في هذا المربع
새 저장소의 커밋을 확인하기 위해
git log 를 실행합니다
에러 메시지가 나오네요
fatal: bad default revision HEAD.
머리는 현재 커밋을 나타냅니다
이 에러 메시지는
아직 커밋이 없기 때문에
커밋 기록을 확인할 수 없다고
알려주고 있습니다
진짜 Git 저장소인지 확인하려면
git status 를 실행해 봅니다
status 는 자주 실행하는
명령어인데
지난 커밋으로부터
변경된 파일을 보여줍니다
지금 마스터 브랜치에
있다는 것을 볼 수 있습니다
이 말이 어떤 의미인지는
나중에 이야기해 보겠습니다
Git 은 기본적으로 최근 커밋을
보여주려고 하지만
커밋이 하나도 없어서
최초의 커밋이라고 알려줍니다
그리고 저의 세 개의 파일은
추적되지 않았다고 말해주는데
아직 이 파일을 추적해서
기록으로 남기지 않았기 때문입니다
다시 앞으로 가서
직접 저장소를 만들어보세요
git init 을 실행하고
생성한 디렉터리에서
git status를 실행해 보세요
git status의 결과를
입력해 주세요
Agora vou executar git log em meu novo repositório para ver os commits presentes.
Recebi a mensagem de erro, fatal: bad default revision HEAD.
head é o nome do git do commit atual.
Ou seja, esta mensagem de erro está dizendo que não posso ver meu histórico de commits
porque ainda não há nenhum commit.
Para confirmar se este é realmente um repositório git, posso executar git status.
Eu gosto de executar o comando status com frequência,
pois ele mostra os arquivos que foram alterados desde o último commit.
Agora, posso ver que estou no branch master.
Vamos discutir o que isso quer dizer mais à frente nesta lição.
Normalmente, git mostraria o commit mais recente.
Mas, como ele não existe, aqui aparece initial commit.
E o git mostra meus três arquivos como untracked,
pois ele ainda não está acompanhando o histórico desses arquivos.
Vá em frente e siga as mesmas etapas
para criar um repositório para suas reflexões.
Execute os comandos git init e git status
no diretório em que você criou suas reflections.
Ao concluir, cole a saída de git status nesta caixa.
现在 我要在我的新存储库中运行 git log 看看有哪些提交
我收到一条错误消息 致命错误:坏的默认版本 HEAD
Head 是 git 当前提交的名称
因此 通过此错误消息表示我无法查看提交历史记录
这是因为不存在任何提交
为了确保这确实是一个 git 存储库 我可以运行 git status
Status 是我喜欢经常运行的命令
因为通过它可以看到最后提交后更改的文件
现在 可以看到我在主分支上
在本节课的后半部分 我们将讨论这表示什么
现在 git 通常显示的是最近的提交
但是由于最近没有提交 因此在此显示了初始提交
git 还显示我的三个文件未被跟踪
这是因为它没有跟踪这些文件的历史记录
我们继续 现在 按照相同的步骤为你的反射创建
存储库
在你已创建反射的目录中运行
命令 git init 和 git status
完成之后 将 git status 的输出粘贴到此框中