You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi, are empty commits supported in Sourcetree? If not, why not?
Thanks!
Hi @Noam Levy ,
Welcome to the community! We are glad you are here.
Wish you a very happy new year!
Well, I think it can be done!
GIT commit has a special command switch for this purpose:
–allow-empty
This switch performs a simple commit with no file changes but with a complete GIT object as a regular commit.
For example, the following command:
git commit –allow-empty -m “Empty test commit”
Thanks Soumyadeep.
We know how to use the --allow-empty command terminal, question is how to use it from within sourcetree?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Tech2778 ,
I'm not sure if it can be done using GUI, But I hope this feature will be available in the future! Making a function available in GUI is tougher, so it might take some time but I hope it will be available in future updates!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.