Git clone repository

In this tutorial, How to git clone repository syncs it to your server.

My System

  • Target: gitlab repository
  • Source: Server Linux

Git clone repository

create a clone, or copy of the target repository to your server.

git clone https://huupv@

To switch from master to develop branch

git checkout develop

List all the branches in your repository

git branch

Git clone repository

fetch and merge changes on the remote server to your working directory

git pull


Thought the article, you can use git clone repository for the project as above. I hope will this your helpful. Thank you for reading the DevopsRoles page!


About HuuPV

My name is Huu. I love technology and especially Devops Skill such as Docker, vagrant, git so forth. I likes open-sources. so I created site to share the knowledge that I have learned. My Job: IT system administrator. Hobbies: summoners war game, gossip.
View all posts by HuuPV →

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.