A photo of Mitesh Shah

Mitesh Shah

Linux Expert | Automation Enthusiast | Security Consultant

Email Skype Github Twitter Resume Hire Me Keybase LinkedIn Stackoverflow

How to Push Empty Commit to Remote Repository

  • To setup deployment we need some commits on repository.
  • But sometimes we need to setup deployment with empty repository
  • In this guide, We will push empty commit message to remote repository, Which allow us to setup the deployment process.
$ git commit --allow-empty -m "Empty Commit to setup deployments"
$ git push

Post Navigation