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.
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
5 ★ | 1 Vote
You should read it
May be interested
- How to hide the Friend Activity tab on Spotifyon the desktop spotify application interface, there is an item called 'friend activity' that is available by default.
- Instructions for deleting Microsoft Copilot activity historyto delete copilot activity history, users cannot do it through the control panel but need to delete it in the microsoft account management section.
- How to See Which Websites Are Sharing Your Activity with Instagramluckily, instagram lets you learn more about the businesses and organizations that share your activity with meta and disconnect them from your account.
- How to disable activity history on Windows 11windows 11 activity history keeps a record of various tasks performed on your computer. if you want to delete or disable activity history on windows 11, follow the instructions below.
- Did you know: Physical activity can reduce the risk of bacterial infectionthis is considered a new miracle medicine mission from regular active physical activity.
- How to view activity logs of iPhone and iPad on Maciphone and ipad create a record of some system activity, including application problems and other interesting or useful data. by connecting an ios device to a mac computer, you can review those logs.
- How to check activity on Facebookon facebook will save all activities that users perform, including comments, likes, ...
- How to prevent YouTube from saving activity logsyoutube activity history such as watched videos, searched videos, . are all saved by youtube so that viewers can search for information or video content they want to know.
- Instagram's Edits App Is Surprisingly Goodedits, the capcut clone, has arrived and it's actually surprisingly good.
- How to hide Listening Activity on Spotifyhideify listening to music in spotify is a great way to protect your privacy, although that can prevent friends from enjoying songs based on your music preferences.