Git is allowing us to push an empty commit without adding any staged files to the branch, by using one option --allow-empty during git commit. The above commands will add all unstaged files and add commit and push the code to the master branch, after that our delivery pipeline will be started.

2m read timeFrom devdojo.com
Post cover image
Table of contents
TLDR; Create an empty commitProblemEnough of the problem, let’s jump on to the solution
11 Comments

Sort: