While comminting the File in the Source tree. we need to save with the version number.
For Example : I am edting one file mutliple times that should save with the version numbers.
Hi
Git doesn't really do version numbers, relying internally on the commit hash.
https://gitversion.readthedocs.io/en/latest/You could try one fo the following.
Theprepare-commit-msg and commit-msg client side hooks, allows you to inspect, and potentially alter the commit msg before or aafter its been written respectively
Alternatively something like GitVersion may be what you are looking for
https://gitversion.readthedocs.io/en/latest/
SourceTree doesn't explicitly support either approach, but equally should work with them if you set them up externally.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.