Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit 3fd849d

Browse files
authored
Merge pull request #282 from NETWAYS/smallstuff
Empty commits and skip CI
2 parents 5b341c5 + e72482b commit 3fd849d

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

day1/04_Commits/02_Commits.md

+5
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ Additionally, the date, time, and the checksum of the previous commit are stored
2020
user name and email address as commit author. This command opens the configured editor
2121
requiring you to add a commit message.
2222
23+
You can also create empty commits. This is sometimes done with the initial commit in a repository:
24+
25+
@@@Sh
26+
git commit --allow-empty -m "Initial commit"
27+
2328
~~~ENDSECTION~~~
2429
2530
!SLIDE smbullets

day2/03_CI/04_Gitlab_Pipelines.md

+2
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ Documentation: https://docs.gitlab.com/ce/ci/yaml/README.html#stage
8181
* Commit the changes
8282
* Check the GitLab Job Pipelines
8383
84+
Hint: You can add `[ci skip]` or `[skip ci]` to your commit message.
85+
8486
!SLIDE supplemental solutions
8587
# Lab ~~~SECTION:MAJOR~~~.~~~SECTION:MINOR~~~: Proposed Solution
8688
****

0 commit comments

Comments
 (0)