Closed tusharnankani closed 2 years ago
Sorry I don't get it, is the push empty git commit command not working?
No, this is an issue to add the empty commit option to the git commit
command options in git_basics.
I've tried to solve the issue as my first one ever and made a pull request, Could you review it and tell me if all is good?
git commit --allow-empty -m "Empty commit"
It's like pushing a normal commit, except that you add the
--allow-empty
flag.Reference: https://catalins.tech/git-empty-commit