Last Updated: June 16, 2016
· krmbzds

How to Start Project with Empty Commit

It's a good practice to start your project with an empty commit. Here's how you can do that:

git commit --allow-empty -m "Initial commit"

Happy hacking!

1 Response
Add your response

Why is it a good practice to start a project with an empty commit? I was wondering.
I usually start with an file haha

over 1 year ago ·