In Git, when you copy a project you say you "clone" it. To work on a git project locally (from your own computer), you will need to clone it. To do this, sign in to GitLab.
When you are on your Dashboard, click on the project that you'd like to clone. To work in the project, you can copy a link to the Git repository through a SSH or a HTTPS protocol. SSH is easier to use after it's been set up. While you are at the Project tab, select HTTPS or SSH from the dropdown menu and copy the link using the Copy URL to clipboard button (you'll have to paste it on your shell in the next step).
This section has examples of some basic shell commands that you might find useful. For more information, search the web for bash commands.
Alternatively, you can edit files using your choice of editor (IDE) or the GitLab user interface.
Go to your computer's shell and type the following command with your SSH or HTTPS URL:
git clone PASTE HTTPS OR SSH HERE
A clone of the project will be created in your computer.
Note: If you clone your project via a URL that contains special characters, make sure that characters are URL-encoded.
cd NAME-OF-PROJECT
cd ..
ls
ls a*
ls *.md
mkdir NAME-OF-YOUR-DIRECTORY
touch README.md
nano README.md
#### ADD YOUR INFORMATION
#### Press: control + X
#### Type: Y
#### Press: enter
cat README.md
rm NAME-OF-FILE
rm -r NAME-OF-DIRECTORY
history
!123
You will be asked for an administrator’s password.
sudo
pwd
clear
If you are completely new to Git, looking through some sample taskflows will help you understand best practices for using these commands as you work.