Compulsory Task 1 Follow these steps: ● Create an empty folder called task1_project. ● Open your terminal or command prompt and then change directory (cd) to your newly created folder. ● Enter the git init command to Initialise your new repository. ● Enter the git status command and make a note of what you see. You should have a clean working directory. ● Create a new file in the task1_project folder called helloWorld.java and write a program that prints out the message “Hello World!” ● Run the git status command again. You should now see that your helloWorld.java file is untracked. ● Enter the git add command followed by helloWorld.java to start tracking your new file. ● Once again, run the git status command. You should now see that your helloWorld.java file is tracked and staged to be committed ● Now that it is tracked, let us change the file helloWorld.java. Change the message printed out by the program to “Git is Awesome!” ● Run git status again. You should see that helloWorld.java appears under a section called “Changes not staged for commit”. This means that the file is tracked but has been modified and not yet staged.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
100%

Compulsory Task 1
Follow these steps:
● Create an empty folder called task1_project.
● Open your terminal or command prompt and then change directory (cd)
to your newly created folder.
● Enter the git init command to Initialise your new repository.
● Enter the git status command and make a note of what you see. You
should have a clean working directory.
● Create a new file in the task1_project folder called helloWorld.java and
write a program that prints out the message “Hello World!”
● Run the git status command again. You should now see that your
helloWorld.java file is untracked.
● Enter the git add command followed by helloWorld.java to start tracking
your new file.
● Once again, run the git status command. You should now see that your
helloWorld.java file is tracked and staged to be committed
● Now that it is tracked, let us change the file helloWorld.java. Change the
message printed out by the program to “Git is Awesome!”
● Run git status again. You should see that helloWorld.java appears
under a section called “Changes not staged for commit”. This means that
the file is tracked but has been modified and not yet staged. 

SE L2T07 - Capstone Project I - OX
← → C VIN Ⓒ File
G Google
I
Addons Store
SE L2T09 - Git Basics
Type here to search
SE L2T09 - Git Basics
C:/Users/Dell/Dropbox/DT20070002991/2-%20Introduction%20to%20Software%20Engineering/L2T09/SE%20L2T09%20-%20Git%20Basics....
AliExpress B. Booking.com Facebook ► YouTube
O
X +
Compulsory Task 1
Follow these steps:
.
9 / 11
.
80% + | A
• Open your terminal or command prompt and then change directory (cd)
to your newly created folder.
Enter the git init command to Initialise your new repository.
Enter the git status command and make a note of what you see. You
should have a clean working directory.
Create an empty folder called task1_project
Create a new file in the task1_project folder called helloWorld.java and
write a program that prints out the message "Hello World!"
Run the git status command again. You should now see that your
helloWorld.java file is untracked.
Enter the git add command followed by helloWorld.java to start tracking
your new file.
• Once again, run the git status command. You should now see that your
helloWorld.java file is tracked and staged to be committed
Now that it is tracked, let us change the file helloWorld.java. Change the
message printed out by the program to "Git is Awesome!"
Run git status again. You should see that helloWorld.java appears
under a section called "Changes not staged for commit". This means that
the file is tracked but has been modified and not yet staged.
F:
88
15°C
Q
℗ I
4)
08:28
11/29/2022
⠀
X
:
□
Transcribed Image Text:SE L2T07 - Capstone Project I - OX ← → C VIN Ⓒ File G Google I Addons Store SE L2T09 - Git Basics Type here to search SE L2T09 - Git Basics C:/Users/Dell/Dropbox/DT20070002991/2-%20Introduction%20to%20Software%20Engineering/L2T09/SE%20L2T09%20-%20Git%20Basics.... AliExpress B. Booking.com Facebook ► YouTube O X + Compulsory Task 1 Follow these steps: . 9 / 11 . 80% + | A • Open your terminal or command prompt and then change directory (cd) to your newly created folder. Enter the git init command to Initialise your new repository. Enter the git status command and make a note of what you see. You should have a clean working directory. Create an empty folder called task1_project Create a new file in the task1_project folder called helloWorld.java and write a program that prints out the message "Hello World!" Run the git status command again. You should now see that your helloWorld.java file is untracked. Enter the git add command followed by helloWorld.java to start tracking your new file. • Once again, run the git status command. You should now see that your helloWorld.java file is tracked and staged to be committed Now that it is tracked, let us change the file helloWorld.java. Change the message printed out by the program to "Git is Awesome!" Run git status again. You should see that helloWorld.java appears under a section called "Changes not staged for commit". This means that the file is tracked but has been modified and not yet staged. F: 88 15°C Q ℗ I 4) 08:28 11/29/2022 ⠀ X : □
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Linux
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education