Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q1.2 0.2 Points Next, we run gitlet add game.txt. What is the output of gitlet status? CWD hello.txt Hello, World! How are you? A.

imageimageimageimageimage

Q1.2 0.2 Points Next, we run gitlet add game.txt. What is the output of gitlet status? CWD hello.txt Hello, World! How are you? A. Branches === hello.txt game.txt --- Untracked Files --- A OB O C OD *master ---Staged Files --- ====Removed Files ---Modifications Not Staged For Commit --- C. === Branches === *master ===Staged Files === game.txt game.txt Let's play 2048! - Removed Files === Modifications Not Staged For Commit ==== hello.txt === Untracked Files ==== B. Branches --- *master master hello.txt D. === Branches 32 a4 Staged Files - ===Removed Files ---Modifications Not Staged For Commit --- === Untracked Files === game.txt *master ===Staged Files hello.txt "hello!" "initial commit" Removed Files === Modifications Not Staged For Commit === game.txt ==== Untracked Files === Next, we revert our changes to hello.txt so that the file is now the same as what we committed ("Hello, World!"). What is the output of gitlet status? CWD A. Branches === 00 hello.txt Hello, World! *master ---Staged Files ... game.txt **Removed Files B C. === Branches *master ===Staged Files === game.txt O C OD Modifications Not Staged For Commit --- === Untracked Files ==== game.txt Let's play 2048! - Removed Files --- ===Modifications Not Staged For Commit === ---- Untracked Files --- hello.txt B. Branches --- *master master 32 hello.txt a4 Staged Files --- game.txt === Removed Files --- "hello!" D. === Branches === *master ===Staged Files === hello.txt game.txt "initial commit" === Modifications Not Staged For Commit --- Untracked Files --- === Removed Files ---Modifications Not Staged For Commit --- === Untracked Files === We modify the contents of game.txt. What is the output of gitlet status? CWD A. --- Branches *master --- Staged Files --- game.txt === Removed Files --- hello.txt C.==== Branches Hello, World! === Untracked Files === *master A B OC Modifications Not Staged For Commit game.txt game.txt --- Untracked Files --- Let's play 2048! Here are the rules... Staged Files === === Removed Files --- ---Modifications Not Staged For Commit --- B. Branches master 32 a4 "hello!" "initial commit" *master --- Staged Files --- game.txt === Removed Files --- === Modifications Not Staged For Commit --- game.txt === Untracked Files --- D. === Branches === *master ===Staged Files === hello.txt game.txt === Removed Files -- Modifications Not Staged For Commit --- ==== Untracked Files === Next, we run gitlet rm game.txt. What is the expected output of gitlet status ? Notice that game.txt does not get deleted from the CWD. CWD *master A. Branches === hello.txt Hello, World! Staged Files .. === Removed Files === C. === Branches *master OA OB OC O D game.txt --- Modifications Not Staged For Commit === Untracked Files ==== Staged Files === === Removed Files === game.txt Let's play 2048! Here are the rules... ---Modifications Not Staged For Commit --- === Untracked Files ==== game.txt master 32 a4 B. Branches === "hello!" "initial commit" *master ---Staged Files www Removed Files === === Modifications Not Staged For Commit === game.txt === Untracked Files ==== D. === Branches === *master ===Staged Files === === Removed Files === --- Modifications Not Staged For Commit --- === Untracked Files ==== Finally, we delete hello.txt from our CWD without using git commands. What is the output of gitlet status? A. Branches --- *master hello.txt CWD Staged Files ... Removed Files === Modifications Not Staged For Commit === --- Untracked Files --- game.txt C. === Branches ==== *master ===Staged Files === Removed Files === game.txt game.txt O A ===Modifications Not Staged For Commit==== Untracked Files --- B O C D Let's play 2048! Here are the rules... master 32 a4 "hello!" "initial commit" B. --- Branches *master hello.txt Staged Files ===Removed Files === Modifications Not Staged For Commit --- === Untracked Files ==== game.txt D. === Branches *master ===Staged Files === Removed Files --- Modifications Not Staged For Commit --- === Untracked Files === hello, txt game.txt

Step by Step Solution

3.52 Rating (155 Votes )

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Programming questions

Question

What are the current computer software platforms and trends?

Answered: 1 week ago