Denomas with Git Basics Hands-On Guide: Lab 1
Denomas with Git Basics Hands-on Guide: Lab 1
Lab 1: Create a project and issue
A. Create a project
-
On the top bar, select Menu > Groups > Your Groups.
- If you are in an instructor-led class, expand the arrow to the left of the Training Users group. Expand the arrow to the left of your Session’s subgroup. Open the subgroup called My Test Group - <USERNAME>.
- If you are in the self-paced environment, open the group called My Test Group - <USERNAME>.
-
Select New project.
-
Select Create blank project.
-
In the Project name text box, enter
Top Level Project. -
Under Visibility Level, ensure Private is selected.
-
Ensure the Initialize repository with a README checkbox is selected.
If you don’t initialize your repository with a README, you will create a “bare” Git repository that you will need to populate by pushing the contents of another repository to it.
-
Select Create project.
B. Create an issue
- On the left sidebar, select Issues.
- Select New issue.
- In the Title text box, enter
my first issue.
Optionally, enter a comment in the Description field. - Next to the Assignees dropdown, select Assign to me.
- Leave all other fields at their defaults.
- Select Create issue.
C. Create custom labels
- On the left sidebar, select Project information > Labels.
- Select New label.
- In the Title text box, enter
Opened. - Assign the label any background color.
- Select Create label. This label is created at the project level, so its scope is limited to this project. It will not be available in any other projects, or at the group level.
- Using the same steps, create labels for
CompletedandNeeds documentation, using any background colors. These 3 labels are now available for you to assign to any issue, merge request, or epic.
D. Use a quick action
- On the left sidebar, select Issues.
- Select my first issue to open it.
- In the comment text box, type the quick action
/spend 1 hour.To view a complete list of available quick actions, select the quick actions link below the text box.
- Select Comment.
- Notice in the right sidebar, the time tracking widget reflects your last action.
E. Assign labels to an issue
- On the right sidebar of my first issue, select Edit in the Labels section.
- Select the Opened and Needs documentation labels you created earlier.
- Click away from the Labels section. Notice that the issue now has both labels applied.
Warning: this step isn’t obvious, but it’s important in order to complete the process of assigning labels.
Suggestions?
If you’d like to suggest changes to the Denomas with Git Basics Hands-on Guide, please submit them via merge request.
17188382)
