Back to the main page

Pull files from remote GitLab repo

First you need to create local repo in the working directory

# git init

Then copy remote repo URL into the clipboard

Now pull files from remote repo to working directory

The syntax is : git pull <remore_repo_url>
# git pull 
remote: Counting objects: 6, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 6 (delta 1), reused 0 (delta 0)
Unpacking objects: 100% (6/6), done.

Files and .git directory have been created in your working directory

# git log

Back to the main page