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!
Written by Kerem Bozdas
Related protips
1 Response
Why is it a good practice to start a project with an empty commit? I was wondering.
I usually start with an readme.md file haha
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
khasinski
591.1K
dmichaelavila
500.4K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#