Information Technology Reference
In-Depth Information
Solution
Clone the FontAwesome repository:
$ cd git-recipes
$ git clone
https://github.com/FortAwesome/
Font-Awesome.git
02-13
Enter the directory:
$ cd 02-13
Right now, the directory
02-13/
contains a git repository. Thus, you can list the
log entries:
$ git log
or the project's contributors:
$ git shortlog -n -s
If you remove
.git
directory with:
$ rm -rf .git
you will be left with the contents of the working directory. Git commands do not work
anymore. If you issue:
$ git log
you will get the error:
fatal: Not a git repository (or any of the parent
directories): .git
How It Works
The git directory can be removed with the simple command: