Two Git Repos: 'git_origin' and 'git_cloned'
Learn about the original, clone, and remote repository.
We'll cover the following
Creating a repository and cloning it
You’re going to start by creating a simple Git repository and then clone it:
1 mkdir -p lgthw_pull
2 cd lgthw_pull
3 mkdir git_origin
4 cd git_origin
5 git init
6 echo 'first commit' > file1
7 git add file1
8 git commit -am file1
9 cd ..
10 git clone git_origin git_cloned