Perform the following steps:
Download the ZIP package named
readme_package.zip
from http://www.packtpub.com/support and place it in thecappuccino
repository on which we have been working to learn these commands.Unzip the contents of the ZIP right inside the
cappuccino
directory in a way so you see seven README files as shown in the following screenshot:Now open your CLI window and type the following command:
git status
We have successfully emulated the scenario of accidental unpacking as discussed earlier.
But under Git, the files that you have unpacked are listed down as untracked files. This means that irrespective of the number of files that have got mixed because of the unzip action with your original files, Git can easily identify them and let you know about it.
We can remove either all or a selected few files by specifying a pattern, which when matched, the clean command will...