Image 1 of 1: ‘Screenshot showing a red circle around where to click to create a new file in a GitLab repository’
Screenshot of adding a new file to a GitLab
repository
Figure 2
Image 1 of 1: ‘Screenshot showing a red circle around where to click to create a new file in a GitLab repository’
Screenshot of adding a new file to a GitLab
repository
Figure 3
Image 1 of 1: ‘Screenshot of writing a commit message for adding the code.json file to a GitLab repository’
Screenshot of adding a code.json template to a
GitLab repository
Figure 4
Image 1 of 1: ‘Screenshot of clicking Edit on the code.json file in the web browser’
Screenshot of editing a file in GitLab
Figure 5
Image 1 of 1: ‘Screenshot of red circle around a button that will Open Raw version of a file’
Must use the raw variant of the file, which provides
access to the plain text of the file and not the GitLab-formatted text.
To get the raw variant of a file, click into the file, and
click the Open raw button next to the Download
button:
Figure 6
Image 1 of 1: ‘Screenshot of red circle showing where to click Code, zip, and Copy link buttons to get the download url’
In GitLab, you can get the download URL by selecting
Code–> right click zip (under
Download source code) –> Copy Link:
Image 1 of 1: ‘Diagram showing an Upstream and Origin as part of USGS Gitlab, and a Local Clone as part of the the Local Workstation. Arrows go back and forth between Upstream and Origin and between Origin and Local Clone. A dashed line goes between the Local Clone and Upstream.’
Forking Workflow Diagram
Figure 2
Image 1 of 1: ‘Screenshot of GitLab UI showing location of fork button’
Figure 3
Image 1 of 1: ‘Screenshot of GitLab UI for creating a fork’
Figure 4
Image 1 of 1: ‘Screenshot of GitLab UI for obtaining ORIGIN_URL’
Figure 5
Image 1 of 1: ‘Screenshot of GitLab UI for creating a new merge request’
Figure 6
Image 1 of 1: ‘Screenshot of GitLab UI for finalizing new merge request’