Câu 13: 701-200: DevOps Tools Engineer
Which of the following statements are true regarding the commands git diff and git diff --staged? (Choose two.)
Nội dung câu hỏi
Which of the following statements are true regarding the commands git diff and git diff --staged? (Choose two.)
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. git diff --staged shows changes of all commits that were not pushed to a remote repository yet.
- B. git diff shows changes that were not added to the next commit. — đáp án hiện tại
- C. git diff and git diff --staged always lead to the same result If a repository does not have at least one remote repository.
- D. git diff --staged shows changes that will be included in the next commit. — đáp án hiện tại
- E. git diff --staged shows changes included in the last successful commit of the current branch.
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.