Create an Empty Commit

# Introduction <div class="alert alert-warning" role="alert"> <p>๐Ÿง‘โ€๐Ÿ’ป New to Git or LabEx? We recommend starting with the <b><a style="color: unset;text-decoration: underline;" href="https://labex.io/courses/quick-start-with-git" target="_blank">Quick Start with Git</a></b> course.</p> </div> In Git, a commit is a snapshot of the changes made to a repository. Each commit has a message that describes the changes made. Sometimes, you may need to create an empty commit with no changes to serve as a placeholder or to trigger a build process. In this lab, you will learn how to create an empty commit in Git.

|
60 : 00

Click the virtual machine below to start practicing