December 2016
Beginner
480 pages
12h 34m
English
In this lab, you'll work through some examples of using the rm and mv commands and stashing uncommitted changes.
This lab assumes that you have done Connected Lab 6: Practicing with Merging. You should start out in the same directory as that lab.
$ echo "another one" > file6.c
$ git add .
$ git commit -m "yet another lab file"$ git rm file6.c$ git status$ ls$ git reset --hard HEAD$ git status$ ls$ git rm file6.c$ git status -sb$ git commit -m "<comment>"$ git status
$ ls$ echo "one more" > file7.c ...Read now
Unlock full access