Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Git for Beginners
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
abims
training
Git for Beginners
Merge requests
!5
Added contents to Git CLI Basics with exercices.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Added contents to Git CLI Basics with exercices.
gitcli-basics
into
main
Overview
0
Commits
6
Pipelines
0
Changes
12
Merged
Mark HOEBEKE
requested to merge
gitcli-basics
into
main
2 years ago
Overview
0
Commits
6
Pipelines
0
Changes
12
Expand
👍
0
👎
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
06c3009b
6 commits,
2 years ago
12 files
+
182
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
12
Search (e.g. *.vue) (Ctrl+P)
git-remote/exercises.md
0 → 100644
+
17
−
0
Options
# Working with remote repositories - Exercices
# Cloning a repository with HTTPS
In a folder on your workstation, clone your GitLab project repository using the HTTPS protocol.
The rename the folder (ex. : prefix the folder name with
`https-`
)
# Cloning a repository with SSH
-
Generate an SSH key pair on your workstation.
-
Copy your public key in your GitLab account settings.
-
Check that you have a working setup using
[
this tutorial
](
https://docs.gitlab.com/ee/user/ssh.html#verify-that-you-can-connect
)
-
Clone your project's repository using the SSH protocol.
Loading