Cloning
In Git, “clone” means to download a repository (project) to your computer.
To clone a template from Git, open VS Code on the machine you want to edit templates on, or connect remotely. A guide for this can be found here.
Open the folder /var/kdrs/sv/templates
Login to maler.kdrs.no and open the repository you want to clone.
Make sure “SSH” is selected, and click the “Copy URL” button.
In VS Code, click View -> Terminal
This will open a terminal at the bottom. Here we can clone the repository with the command:
git clone <copied-repository-ssh-url>
That’s it! Your repository should now be visible in the explorer. You can make commits and push in the “Source Control” tab: