Information Technology Reference
In-Depth Information
CHAPTER 2
Working with Well-Known Re-
positories
We will start our tour exploring existing and quite well-known repositories. The main
goal of this chapter is to get familiar with repositories—their types and structure. In this
chapter, you will learn the following:
• What are the most popular hosting solutions for git repositories?
• How to create a local copy of a repository that is hosted on Github.com
or Bitbucket.org ?
Once we know how to clone a repository, we can then analyze its structure. Then we
will explore the working directory—the git directory and its contents. At that point we
will be able to classify a repository as either bare or non-bare.
Next, we will discuss the various commands that print the information about the re-
pository, such as
• The list of revisions
• The list of contributors
• The number of revisions
• The number of contributors
• The disk usage of the git directory and the working directory
To make the chore of typing long git commands easier, I will define their aliases.
Search WWH ::




Custom Search