In this tutorial, How to git clone repository syncs it to your server.
- 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@https://gitlab.com/DevopsRoles/devopsroles.git
To switch from master to develop branch
git checkout develop
List all the branches in your repository
fetch and merge changes on the remote server to your working directory
Thought the article, you can use git clone repository for the project as above. I hope will this your helpful.