Clone activity in Git
We have an empty repository on the server and Tom also pushed his first version. Now, Jerry can observe his changes. Clone operation creates a remote repository instance.
We have an empty repository on the server and Tom also pushed his first version. Now, Jerry can observe his changes. Clone operation creates a remote repository instance.
Jerry creates a new folder in his home directory and performs the simulation.
[jerry @ CentOS ~] $ mkdir jerry_repo
[jerry @ CentOS ~] $ cd jerry_repo /
[jerry @ CentOS jerry_repo] $ git clone gituser@git.server.com: project.git
The above command will produce the following result:
Initialized empty Git repository in /home/jerry/jerry_repo/project/.git/
remote: Counting objects: 3, done.
Receiving objects: 100% (3/3), 241 bytes, done.
remote: Total 3 (delta 0), reused 0 (delta 0)
Jerry changed this directory to the new local directory and listed its directory contents.
[jerry @ CentOS jerry_repo] $ cd project /
[jerry @ CentOS jerry_repo] $ ls
README
According to Tutorialspoint
Previous lesson: Create activity in Git
Next article: Make changes in Git
Update 25 May 2019
Create a new user account on the operating systemCreate an empty repositoryPublic / private key pairAdd keys to authorized keysPush (Push) changes to the repository
You should read it
- Create activity in Git
- How to Use Deploy Keys on Github
- Operating Rename in Git
- Delete operation in Git
- Online Repository in Git
- Push operation in HTML
- Create funny virtual Home keys on Android
- How to Clone a Repository on Github
- How to create a Public Account on Viber
- Apple violates the rules set by itself and is suffering from user bricks
- The Art of Brevity: How to Write Effective Push Notifications to Match Limits and Increase Engagement
- How to turn Caps Lock keys into modifier keys on Mac
Maybe you are interested
Detection of exoplanets with extreme climates and extremely unusual orbits The 'white whale' planet was observed for the first time by a $10 billion telescope How to Install and Run Bash on Windows 11 How to Make Almond Paste Instructions for entering BIOS on different computers How to comment, see the 2018 World Cup news right on Zalo