Exercise Git Wrapup

pdf

School

Eastern Michigan University *

*We aren’t endorsed by this school

Course

381

Subject

Computer Science

Date

Feb 20, 2024

Type

pdf

Pages

2

Uploaded by CorporalSquirrelPerson1025

Report
Name: Ciara Wheeler EID: E02500688 Exercise 1 Bash script mkdir local_repo3 cd local_repo3 git init echo "readme.md" > readme.md echo "teacher" > teacher echo "class" > class echo "school" > school echo "temp_file" > temp_file git add readme.md git add teacher git add class git commit -m "first commit" echo "teacher edit" > teacher echo "readme edit" > readme.md echo "class edit" > class git add class git add school git status Snapshot
Exercise 2 Write a git diff command to show the difference between the working tree and the oldest commit. git diff 249291 Write a git diff command to show the changes that are staged git diff –cached Write a git diff command to show the changes that haven't been staged git diff Exercise 3
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help