Skip to content

Latest commit

 

History

History
17 lines (15 loc) · 678 Bytes

2.0-cancelling-ex.md

File metadata and controls

17 lines (15 loc) · 678 Bytes

Section 2.0: Deleting, Cancelling, Unstaging

  • create a new file called results.md and add a sentence or two to it.
  • add this file to the staging area
  • remove this file from the staging area
  • add this file back to the staging area
  • commit this file
  • move this file to a file called data-results.md
  • check that you've moved it with git status
  • move it back to results.md
  • check what it looks like with git status now that you've moved it back
  • add another few sentences to this file that describe your results in more detail.
  • check that the changes exist with git status
  • use git checkout to remove the changes of the file
  • check the file status with git status